test: update additive tool inventory and satellite boundary closure

This commit is contained in:
Bilawal Sidhu committed 2026-09-15 02:32:49 -05:00
1 parent c96a250253
commit cfe573c6e6
2 files changed
+6 -3

No files matched your search

+1
View File
@@ -1719,6 +1719,7 @@
"src/data/infrastructure.js",
"src/data/installationFeedback.js",
"src/data/issPass.js",
"src/data/satellitePass.js",
"src/data/labelArbiter.js",
"src/data/layerState.js",
"src/data/localGeojson.js",
+5 -3
View File
@@ -24,15 +24,17 @@ const css = readStylesheet(new URL('../style.css', import.meta.url));
function realtimeTools() { return GEV_REALTIME_TOOLS; }
test('Realtime schema exposes the authoritative 28-tool inventory', () => {
test('Realtime schema exposes the authoritative 29-tool inventory', () => {
const tools = realtimeTools();
assert.equal(tools.length, 28);
assert.equal(tools.length, 29);
const names = tools.map((tool) => tool.name);
assert.equal(new Set(names).size, 28, 'tool names are unique');
assert.equal(new Set(names).size, 29, 'tool names are unique');
assert.ok(names.includes('set_context_mode'));
assert.ok(names.includes('control_cockpit'));
assert.ok(names.includes('select_nearest_aircraft'));
assert.ok(names.includes('control_radio'));
assert.ok(names.includes('next_satellite_pass'));
assert.ok(names.includes('next_iss_pass'));
// Every tool closes its parameter object: an open schema lets the model
// invent arguments the runner silently drops.
for (const tool of tools) {