mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-23 11:42:21 +00:00
test(recent-imagery): strengthen half coverage
This commit is contained in:
1 parent
7b76525528
commit
b2a6aa4d9f
2 files changed
+7
-9
No files matched your search
@@ -2,11 +2,9 @@
|
||||
into a box about 360° wide and refused as too large; it is now the short box
|
||||
across ±180°, which lists the days for that box and drapes a pinned day on
|
||||
both sides. Availability probes both sides of ±180° (a day counts as present when either
|
||||
side has data, and sides confirmed empty are not draped — a
|
||||
side confirmed empty never lands on the map), each side is bounded by its
|
||||
own deadline and both sides' answers are heard — sides proven present all
|
||||
drape, a side that stalls only bounds the day for its deadline instead of
|
||||
being cancelled, and a side whose transport ignores abort is timed out at
|
||||
the deadline itself, voice accepts named areas across the dateline, and EXPORT is
|
||||
side has data, and sides confirmed empty are not draped). Each side has a
|
||||
deadline so a stalled probe cannot indefinitely block the day; unknown or
|
||||
failed sides are not treated as empty. Voice accepts named areas across the
|
||||
dateline, and EXPORT is
|
||||
disabled up front with the reason, since Worldview Snapshots cannot draw a
|
||||
box that crosses ±180° (Byrd-IT, #1540).
|
||||
@@ -230,9 +230,9 @@ test('both present halves are preserved: presentBoxes carries every data half an
|
||||
[EAST_HALF, WEST_HALF].find((h) => sameBox(h, half)),
|
||||
);
|
||||
assert.deepEqual(
|
||||
drapes.length,
|
||||
2,
|
||||
'each present half maps to one probe half',
|
||||
new Set(drapes),
|
||||
new Set([EAST_HALF, WEST_HALF]),
|
||||
'each present half maps to a distinct probe half',
|
||||
);
|
||||
assert.ok(response.blob, 'the answer stays a readable response');
|
||||
const blob = await response.blob();
|
||||
|
||||
Reference in new issue
Block a user