projects-timfalken-com allianties
unit_tests
Passed Started 4 days ago by timfa
Running on Steve
Log timestamps in UTC.
- 123:01:25
Using docker image node:20-bookworm ... - 223:01:25
Using docker image sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 for node:20-bookworm with digest node@sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 ...
- 323:01:25
Running on Steve via BlueGit... - 423:01:25
Working directory: /workspace - 523:01:25
Pipeline #706, job #2741
- 623:01:27
debconf: delaying package configuration, since apt-utils is not installed - 723:01:32
TAP version 13 - 823:01:32
# Subtest: deploy_guard - 923:01:32
# Subtest: expands $timftproot and ${timftproot} and collapses double slashes - 1023:01:32
ok 1 - expands $timftproot and ${timftproot} and collapses double slashes - 1123:01:32
--- - 1223:01:32
duration_ms: 44.260604 - 1323:01:32
... - 1423:01:32
# Subtest: refuses the FTP root, a missing secret, and a non-allianties leaf - 1523:01:32
ok 2 - refuses the FTP root, a missing secret, and a non-allianties leaf - 1623:01:32
--- - 1723:01:32
duration_ms: 39.528315 - 1823:01:32
... - 1923:01:32
# Subtest: the CLI exits 0 for a good path and does not print the path - 2023:01:32
ok 3 - the CLI exits 0 for a good path and does not print the path - 2123:01:32
--- - 2223:01:32
duration_ms: 14.40986 - 2323:01:32
... - 2423:01:32
1..3 - 2523:01:32
ok 1 - deploy_guard - 2623:01:32
--- - 2723:01:32
duration_ms: 99.377271 - 2823:01:32
type: 'suite' - 2923:01:32
... - 3023:01:32
# Subtest: assert_safe_target - 3123:01:32
# Subtest: allows a new, empty, previous, or leftover-files folder and only logs foreign names - 3223:01:32
ok 1 - allows a new, empty, previous, or leftover-files folder and only logs foreign names - 3323:01:32
--- - 3423:01:32
duration_ms: 24.881768 - 3523:01:32
... - 3623:01:32
# Subtest: the FTP mirror never deletes, never uploads favicon.ico, and leaves data/ alone - 3723:01:32
ok 2 - the FTP mirror never deletes, never uploads favicon.ico, and leaves data/ alone - 3823:01:32
--- - 3923:01:32
duration_ms: 22.728826 - 4023:01:32
... - 4123:01:32
1..2 - 4223:01:32
ok 2 - assert_safe_target - 4323:01:32
--- - 4423:01:32
duration_ms: 47.848764 - 4523:01:32
type: 'suite' - 4623:01:32
... - 4723:01:32
# Subtest: auth_config_php - 4823:01:32
# Subtest: is covered by ci/test_deploy_auth.py (PHP escaping, empty secret, no leak in lftp) - 4923:01:32
ok 1 - is covered by ci/test_deploy_auth.py (PHP escaping, empty secret, no leak in lftp) - 5023:01:32
--- - 5123:01:32
duration_ms: 46.594407 - 5223:01:32
... - 5323:01:32
1..1 - 5423:01:32
ok 3 - auth_config_php - 5523:01:32
--- - 5623:01:32
duration_ms: 46.894955 - 5723:01:32
type: 'suite' - 5823:01:32
... - 5923:01:32
# Subtest: i18n catalog - 6023:01:32
# Subtest: lists every supported locale - 6123:01:32
ok 1 - lists every supported locale - 6223:01:32
--- - 6323:01:32
duration_ms: 1.08099 - 6423:01:32
... - 6523:01:32
# Subtest: has the same non-empty keys in every language - 6623:01:32
ok 2 - has the same non-empty keys in every language - 6723:01:32
--- - 6823:01:32
duration_ms: 1.837897 - 6923:01:32
... - 7023:01:32
# Subtest: keeps English placeholders in every translation - 7123:01:32
ok 3 - keeps English placeholders in every translation - 7223:01:32
--- - 7323:01:32
duration_ms: 2.955206 - 7423:01:32
... - 7523:01:32
# Subtest: never translates the game name Allianties - 7623:01:32
ok 4 - never translates the game name Allianties - 7723:01:32
--- - 7823:01:32
duration_ms: 0.218763 - 7923:01:32
... - 8023:01:32
# Subtest: maps every known server error code - 8123:01:32
ok 5 - maps every known server error code - 8223:01:32
--- - 8323:01:32
duration_ms: 0.161415 - 8423:01:32
... - 8523:01:32
1..5 - 8623:01:32
ok 4 - i18n catalog - 8723:01:32
--- - 8823:01:32
duration_ms: 7.284434 - 8923:01:32
type: 'suite' - 9023:01:32
... - 9123:01:32
# Subtest: Rules grid and Chebyshev - 9223:01:32
# Subtest: scales the board with player count - 9323:01:32
ok 1 - scales the board with player count - 9423:01:32
--- - 9523:01:32
duration_ms: 0.649525 - 9623:01:32
... - 9723:01:32
# Subtest: uses Chebyshev distance (diagonals included) - 9823:01:32
ok 2 - uses Chebyshev distance (diagonals included) - 9923:01:32
--- - 10023:01:32
duration_ms: 0.129424 - 10123:01:32
... - 10223:01:32
# Subtest: passable accounts for arena inset - 10323:01:32
ok 3 - passable accounts for arena inset - 10423:01:32
--- - 10523:01:32
duration_ms: 0.143752 - 10623:01:32
... - 10723:01:32
1..3 - 10823:01:32
ok 5 - Rules grid and Chebyshev - 10923:01:32
--- - 11023:01:32
duration_ms: 1.870048 - 11123:01:32
type: 'suite' - 11223:01:32
... - 11323:01:32
# Subtest: Rules cease-fire, midnight wrap and DST - 11423:01:32
# Subtest: treats 23:30 as cease-fire wrapping to 06:00 next day - 11523:01:32
ok 1 - treats 23:30 as cease-fire wrapping to 06:00 next day - 11623:01:32
--- - 11723:01:32
duration_ms: 47.324435 - 11823:01:32
... - 11923:01:32
# Subtest: treats the end timestamp as exclusive - 12023:01:32
ok 2 - treats the end timestamp as exclusive - 12123:01:32
--- - 12223:01:32
duration_ms: 11.575982 - 12323:01:32
... - 12423:01:32
# Subtest: handles a second daytime range and countdown seconds - 12523:01:32
ok 3 - handles a second daytime range and countdown seconds - 12623:01:32
--- - 12723:01:32
duration_ms: 29.356411 - 12823:01:32
... - 12923:01:32
# Subtest: shortens 01:00–04:00 across the 2026 spring-forward to 2 real hours - 13023:01:32
ok 4 - shortens 01:00–04:00 across the 2026 spring-forward to 2 real hours - 13123:01:32
--- - 13223:01:32
duration_ms: 16.581016 - 13323:01:32
... - 13423:01:32
# Subtest: lengthens 01:00–03:30 across the 2026 fall-back to 3.5 real hours - 13523:01:32
ok 5 - lengthens 01:00–03:30 across the 2026 fall-back to 3.5 real hours - 13623:01:32
--- - 13723:01:32
duration_ms: 18.841542 - 13823:01:32
... - 13923:01:32
# Subtest: is inactive when the rule is off or ranges are empty - 14023:01:32
ok 6 - is inactive when the rule is off or ranges are empty - 14123:01:32
--- - 14223:01:32
duration_ms: 1.228047 - 14323:01:32
... - 14423:01:32
# Subtest: merges overlapping ranges for the countdown - 14523:01:32
ok 7 - merges overlapping ranges for the countdown - 14623:01:32
--- - 14723:01:32
duration_ms: 13.054051 - 14823:01:32
... - 14923:01:32
# Subtest: formats HH:MM:SS countdowns - 15023:01:32
ok 8 - formats HH:MM:SS countdowns - 15123:01:32
--- - 15223:01:32
duration_ms: 0.181563 - 15323:01:32
... - 15423:01:32
1..8 - 15523:01:32
ok 6 - Rules cease-fire, midnight wrap and DST - 15623:01:32
--- - 15723:01:32
duration_ms: 139.078222 - 15823:01:32
type: 'suite' - 15923:01:32
... - 16023:01:32
# Subtest: Rules timelineIndex (nearest event) - 16123:01:32
# Subtest: returns 0 when there are no spends - 16223:01:32
ok 1 - returns 0 when there are no spends - 16323:01:32
--- - 16423:01:32
duration_ms: 0.178186 - 16523:01:32
... - 16623:01:32
# Subtest: maps 0 to the start and 1 to live (after the last spend) - 16723:01:32
ok 2 - maps 0 to the start and 1 to live (after the last spend) - 16823:01:32
--- - 16923:01:32
duration_ms: 0.157097 - 17023:01:32
... - 17123:01:32
# Subtest: jumps to the nearest event along the bar - 17223:01:32
ok 3 - jumps to the nearest event along the bar - 17323:01:32
--- - 17423:01:32
duration_ms: 0.123253 - 17523:01:32
... - 17623:01:32
1..3 - 17723:01:32
ok 7 - Rules timelineIndex (nearest event) - 17823:01:32
--- - 17923:01:32
duration_ms: 0.631882 - 18023:01:32
type: 'suite' - 18123:01:32
... - 18223:01:32
1..7 - 18323:01:32
# tests 25 - 18423:01:32
# suites 7 - 18523:01:32
# pass 25 - 18623:01:32
# fail 0 - 18723:01:32
# cancelled 0 - 18823:01:32
# skipped 0 - 18923:01:32
# todo 0 - 19023:01:32
# duration_ms 236.915577 - 19123:01:32
auth-config ok - 19223:01:32
Engine: grid and placement - 19323:01:32
ok 2 players → 6×6 - 19423:01:33
ok 4 players → 6×6 - 19523:01:33
ok 8 players → 7×7 (ceil sqrt(48)=7) - 19623:01:33
ok 12 players → 9×9 (ceil sqrt(72)=9) - 19723:01:33
ok 6×6 max inset 1 (leaves 4×4, min arena 3) - 19823:01:33
ok 7×7 max inset 2 (leaves 3×3) - 19923:01:33
ok 4 starting positions - 20023:01:33
ok starting positions are unique - 20123:01:33
ok start in bounds 3,1 - 20223:01:33
ok start in bounds 4,3 - 20323:01:33
ok start in bounds 3,4 - 20423:01:33
ok start in bounds 1,3 - 20523:01:33
Engine: Chebyshev range - 20623:01:33
ok diagonal 2 is range 2 - 20723:01:33
ok orthogonal 2 is range 2 - 20823:01:33
ok same tile is 0 - 20923:01:33
Engine: midnight Amsterdam - 21023:01:33
ok next midnight after 23:30 is 00:00 next day: 2026-11-14 00:00:00 - 21123:01:33
ok at exactly 00:00, next is tomorrow - 21223:01:33
ok DST: next midnight still 00:00: 2026-03-29 00:00:00 - 21323:01:33
Engine: lobby and start - 21423:01:33
ok new lobby - 21523:01:33
ok jury default ON - 21623:01:33
ok shrink default OFF - 21723:01:33
ok shrink interval default 7 - 21823:01:33
ok ceasefire default OFF - 21923:01:33
ok ceasefire ranges empty by default - 22023:01:33
ok vis_shots default public - 22123:01:33
ok vis_gifts default public - 22223:01:33
ok vis_ap default public - 22323:01:33
ok vis_range default public - 22423:01:33
ok vis_lives default public - 22523:01:33
ok ap_loot default OFF - 22623:01:33
ok ap_time default 00:00 - 22723:01:33
ok host is creator - 22823:01:33
ok start alone: min_players - 22923:01:33
ok 2 players - 23023:01:33
ok non-host cannot start - 23123:01:33
ok started - 23223:01:33
ok grid 6 - 23323:01:33
ok start with 1 AP - 23423:01:33
ok start with 3 lives - 23523:01:33
ok start with range 2 - 23623:01:33
ok not overlapping - 23723:01:33
ok next AP at next midnight: 2026-11-14 00:00:00 - 23823:01:33
Engine: move, blocked, AP - 23923:01:33
ok Alice has at least one move - 24023:01:33
ok moved - 24123:01:33
ok spent 1 AP - 24223:01:33
ok move event - 24323:01:33
ok move is a spend tick - 24423:01:33
ok no AP: invalid_move - 24523:01:33
Engine: shoot and death and win - 24623:01:33
ok Bob is in range 2 (actually dist 1) - 24723:01:33
ok Bob has 2 lives - 24823:01:33
ok Bob is dead - 24923:01:33
ok game finished - 25023:01:33
ok Alice wins - 25123:01:33
ok death event - 25223:01:33
ok win event - 25323:01:33
Engine: give AP and upgrade - 25423:01:33
ok Alice spent 2 - 25523:01:33
ok Bob received 2 - 25623:01:33
ok bad_give - 25723:01:33
ok range is now 3 - 25823:01:33
ok upgrade costs 1 - 25923:01:33
Engine: out of range and occupied - 26023:01:33
ok Bob at (5,5) is out of range 2 from (0,0) - 26123:01:33
ok out_of_range - 26223:01:33
ok cannot move onto Bob - 26323:01:33
Engine: surrender - 26423:01:33
ok Bob surrendered - 26523:01:33
ok flagged surrendered - 26623:01:33
ok Alice wins after surrender - 26723:01:33
Engine: daily AP grant - 26823:01:33
ok day is 1 - 26923:01:33
ok Alice got 1 AP - 27023:01:33
ok Bob got 1 AP - 27123:01:33
ok caught up to day 3, day=3 - 27223:01:33
ok 3 AP after 3 days (started 0): 3 - 27323:01:33
Engine: jury - 27423:01:33
ok still running with 2 alive - 27523:01:33
ok c voted a - 27623:01:33
ok d changed vote to b - 27723:01:33
ok living cannot vote - 27823:01:33
ok Alice (living) has no vote - 27923:01:33
ok Charlie sees own vote - 28023:01:33
ok votes not in present payload - 28123:01:33
ok Alice got 1+1 (tie): 2 - 28223:01:33
ok Bob got 1+1 (tie): 2 - 28323:01:33
ok votes reset after distribution - 28423:01:33
ok Alice unique jury winner: 2 - 28523:01:33
ok Bob only regular 1: 1 - 28623:01:33
ok jury off: cannot_vote - 28723:01:33
Engine: shrinking arena - 28823:01:33
ok 6×6 - 28923:01:33
ok shrink in 2 days (interval 2, day 0): 2 - 29023:01:33
ok day 1 - 29123:01:33
ok no shrink on day 1 - 29223:01:33
ok Alice still on (0,0) - 29323:01:33
ok Alice still 3 lives - 29423:01:33
ok shrink in 1 day - 29523:01:33
ok day 2 - 29623:01:33
ok inset is 1 - 29723:01:33
ok Alice lost 1 life: 2 - 29823:01:33
ok Alice pushed inward to passable 1,1 - 29923:01:33
ok not onto Bob - 30023:01:33
ok Bob unhurt in centre - 30123:01:33
ok Alice got day-1 and day-2 AP after surviving shrink: 2 - 30223:01:33
ok legal move 1,2 is passable - 30323:01:33
ok legal move 2,1 is passable - 30423:01:33
ok does not shrink past max inset: 1 - 30523:01:33
ok no upcoming shrink at max - 30623:01:33
Engine: shrink kills and crush and draw - 30723:01:33
ok Alice died on shrink (1 life) - 30823:01:33
ok Bob died on shrink (1 life) - 30923:01:33
ok finished - 31023:01:33
ok draw when both die in the same shrink - 31123:01:33
Engine: notes and chat privacy - 31223:01:33
ok Alice sees her note on Bob - 31323:01:33
ok Bob does not see Alice’s note - 31423:01:33
ok Alice sees chat - 31523:01:33
ok Bob sees chat - 31623:01:33
Engine: modular rule flags - 31723:01:33
ok jury "0" is false - 31823:01:33
ok shrink "1" is true - 31923:01:33
ok interval clamped to max 30: 30 - 32023:01:33
ok ceasefire "1" is true - 32123:01:33
Engine: cease-fire ranges and midnight wrap - 32223:01:33
ok 2 valid ranges: 2 - 32323:01:33
ok sorted, first is 12:00 - 32423:01:33
ok wrap range kept - 32523:01:33
ok 23:30 is cease-fire (wrap) - 32623:01:33
ok ends at 06:00 next day: 2026-11-14 06:00 - 32723:01:33
ok Attack disabled during cease-fire - 32823:01:33
ok legal.ceasefire true - 32923:01:33
ok non-shoot actions still considered - 33023:01:33
ok can still move during cease-fire - 33123:01:33
ok error code ceasefire: ceasefire - 33223:01:33
ok 06:00 exactly is not cease-fire (end exclusive) - 33323:01:33
ok next cease-fire at 12:00: 12:00 - 33423:01:33
ok 12:30 is cease-fire - 33523:01:33
ok ends 13:00: 13:00 - 33623:01:33
ok 15:00 is free - 33723:01:33
ok until 22:00: 2026-11-14 22:00 - 33823:01:33
ok can shoot when not in cease-fire - 33923:01:33
ok shot landed outside cease-fire - 34023:01:33
ok 21:59 is free - 34123:01:33
ok 60 seconds until cease-fire: 60 - 34223:01:33
ok 05:59 still cease-fire - 34323:01:33
ok 60 seconds left in cease-fire: 60 - 34423:01:33
Engine: cease-fire DST spring-forward (2026-03-29 02:00→03:00) - 34523:01:33
ok 01:00 CEST-transition day is cease-fire - 34623:01:33
ok ends 04:00: 2026-03-29 04:00 - 34723:01:33
ok spring-forward 01:00-04:00 is 2 real hours: 7200 - 34823:01:33
ok 03:00 (after the jump) is still cease-fire - 34923:01:33
ok 1 hour left at 03:00: 3600 - 35023:01:33
ok 00:30 is free - 35123:01:33
ok 30 min until 01:00: 1800 - 35223:01:33
Engine: cease-fire DST fall-back (2026-10-25 03:00→02:00) - 35323:01:33
ok 01:00 fall-back day is cease-fire - 35423:01:33
ok ends 03:30: 2026-10-25 03:30 - 35523:01:33
ok fall-back 01:00-03:30 is 3.5 real hours: 12600 - 35623:01:33
ok first 02:15 (still DST) is cease-fire - 35723:01:33
ok second 02:15 (CET) is still cease-fire - 35823:01:33
ok 03:30 exactly is free (end exclusive) - 35923:01:33
Engine: cease-fire off or empty ranges - 36023:01:33
ok rule off → no info (ranges ignored) - 36123:01:33
ok on but empty ranges → treated as no cease-fire - 36223:01:33
Engine: overlapping ranges merge for countdown - 36323:01:33
ok merged overlapping ends at 13:00: 13:00 - 36423:01:33
Engine: visibility defaults and invalid values fall back to public - 36523:01:33
ok bad vis_shots → public - 36623:01:33
ok bad vis_gifts → public - 36723:01:33
ok bad vis_ap → public - 36823:01:33
ok bad vis_range → public - 36923:01:33
ok bad vis_lives → public - 37023:01:33
ok accepts elim_known_target - 37123:01:33
ok accepts anonymous - 37223:01:33
ok accepts hidden AP - 37323:01:33
ok accepts known_in_range - 37423:01:33
ok accepts hidden lives - 37523:01:33
Engine: vis shots — public (everyone sees, including lives_left when lives public) - 37623:01:33
ok shooter sees public shot - 37723:01:33
ok target sees public shot - 37823:01:33
ok third party sees public shot - 37923:01:33
ok third party sees shooter id - 38023:01:33
ok public lives_left on shot - 38123:01:33
ok damage is 1 - 38223:01:33
ok public lives in state - 38323:01:33
Engine: vis shots — elim_public (non-elim hidden from third party, visible to target) - 38423:01:33
ok shooter sees non-elim - 38523:01:33
ok target sees non-elim under elim_public - 38623:01:33
ok third party does not see non-elim - 38723:01:33
ok no death on non-elim - 38823:01:33
ok third party sees only the eliminating shot: 1 - 38923:01:33
ok the visible shot is the kill - 39023:01:33
ok third party sees death - 39123:01:33
ok elim_public death includes killer - 39223:01:33
ok target sees killer - 39323:01:33
ok death/alive is always public - 39423:01:33
Engine: vis shots — known_target (others never see the shot, death without by) - 39523:01:33
ok shooter sees known_target shot - 39623:01:33
ok target sees known_target shot - 39723:01:33
ok third party does not see known_target shot - 39823:01:33
ok third party still sees that B died - 39923:01:33
ok killer stripped for third party under known_target - 40023:01:33
ok target still sees who shot them - 40123:01:33
Engine: vis shots — elim_known_target (non-elim hidden even from target) - 40223:01:33
ok shooter sees non-elim under elim_known_target - 40323:01:33
ok target does NOT see non-elim shot (must deduce) - 40423:01:33
ok third party does not see non-elim - 40523:01:33
ok target still sees own lives drop - 40623:01:33
ok lives still public in this game (default) - 40723:01:33
ok target sees only the eliminating shot - 40823:01:33
ok elim shot names the shooter for the target - 40923:01:33
ok third party never sees shots under elim_known_target - 41023:01:33
ok third party death has no by - 41123:01:33
Engine: vis shots + hidden lives — lives_left stripped except for the target - 41223:01:33
ok shooter does not get target lives_left - 41323:01:33
ok target sees own lives_left - 41423:01:33
ok third party does not get lives_left - 41523:01:33
ok shooter still sees damage 1 - 41623:01:33
ok own lives always visible - 41723:01:33
ok other lives hidden from shooter - 41823:01:33
ok other lives hidden from third party - 41923:01:33
ok target sees own lives - 42023:01:33
ok alive flag still present when lives hidden - 42123:01:33
Engine: vis gifts — public, known_recipient, anonymous - 42223:01:33
ok public gift visible to third party with giver and amount - 42323:01:33
ok giver sees own gift - 42423:01:33
ok recipient sees giver - 42523:01:33
ok third party does not see known_recipient gift - 42623:01:33
ok giver sees full anonymous gift in their own log - 42723:01:33
ok recipient sees an anonymous gift event - 42823:01:33
ok event marked anonymous - 42923:01:33
ok giver id stripped for recipient - 43023:01:33
ok recipient sees the AP amount - 43123:01:33
ok recipient is named as target - 43223:01:33
ok third party does not see anonymous gift - 43323:01:33
ok recipient AP actually increased - 43423:01:33
ok stored event still has the giver (present does not mutate) - 43523:01:33
ok sanity - 43623:01:33
ok clone is independent of stored event - 43723:01:33
Engine: vis AP totals hidden - 43823:01:33
ok own AP visible when hidden rule is on - 43923:01:33
ok other AP hidden - 44023:01:33
ok third party does not see A’s AP - 44123:01:33
ok daily event present - 44223:01:33
ok hidden AP: only own grant in daily event: {"a":1} - 44323:01:33
ok jury vote counts stripped - 44423:01:33
Engine: vis range — hidden and known_in_range - 44523:01:33
ok own range after upgrade - 44623:01:33
ok other range hidden - 44723:01:33
ok upgrader sees own upgrade - 44823:01:33
ok third party does not see hidden upgrade - 44923:01:33
ok B is within A’s range, sees A’s range - 45023:01:33
ok A is within B’s range, sees B’s range - 45123:01:33
ok C is outside A’s range (dist 3 > 2) - 45223:01:33
ok A is outside C’s range (dist 3 > 2) - 45323:01:33
ok C always sees own range - 45423:01:33
ok after upgrade, C is within A’s range and sees it - 45523:01:33
ok C now also sees the upgrade event - 45623:01:33
ok A is still outside C’s range 2 - 45723:01:33
Engine: movement is always public, even with everything hidden - 45823:01:33
ok move is public - 45923:01:33
ok move names the player and destination - 46023:01:33
ok new position is in the public state - 46123:01:33
ok AP still hidden after the move - 46223:01:33
ok lives still hidden - 46323:01:33
ok range still hidden - 46423:01:33
Engine: present() does not leak hidden keys with real values - 46523:01:33
ok JSON-facing ap is null - 46623:01:33
ok JSON-facing lives is null - 46723:01:33
ok JSON-facing range is null - 46823:01:33
ok no numeric secrets for a - 46923:01:33
ok no numeric secrets for b - 47023:01:33
Engine: nextDistribution (per-lobby AP time) and DST - 47123:01:33
ok 14:00 → today 15:00: 2026-11-14 15:00:00 - 47223:01:33
ok exactly 15:00 → tomorrow 15:00: 2026-11-15 15:00:00 - 47323:01:33
ok 16:00 → tomorrow 15:00: 2026-11-15 15:00:00 - 47423:01:33
ok 00:00 path equals nextMidnight - 47523:01:33
ok ap_time normalised to HH:MM - 47623:01:33
ok bad ap_time → 00:00 - 47723:01:33
ok 24:00 invalid → 00:00 - 47823:01:33
ok DST spring: 02:30 candidate is strictly after 01:30 - 47923:01:33
ok DST spring: still that calendar day: 2026-03-29 03:30:00 CEST - 48023:01:33
ok DST spring: 04:00 exact: 2026-03-29 04:00:00 - 48123:01:33
ok DST fall-back: 02:30 that day: 2026-10-25 02:30:00 CEST - 48223:01:33
Engine: AP at a non-midnight lobby time - 48323:01:33
ok start schedules 15:00 - 48423:01:33
ok day increments at 15:00 - 48523:01:33
ok AP granted at 15:00 - 48623:01:33
ok one second before 15:00: no grant - 48723:01:33
Engine: AP loot default off; on only for eliminating shots - 48823:01:33
ok B is dead - 48923:01:33
ok dead B has 0 AP - 49023:01:33
ok loot off: A spent 1, did not receive B’s 4 (has 2) - 49123:01:33
ok loot off: no loot field on the kill shot - 49223:01:33
ok loot on: B dead, AP zeroed - 49323:01:33
ok loot on: A spent 1 (3→2) then looted 4 → 6: 6 - 49423:01:33
ok shooter sees loot amount - 49523:01:33
ok public AP: third party sees loot - 49623:01:33
ok shooter sees loot even if AP totals hidden - 49723:01:33
ok third party does not see loot amount when AP is hidden - 49823:01:33
ok shooter sees own AP including loot - 49923:01:33
ok third party still does not see A’s total - 50023:01:33
ok non-elim: no loot - 50123:01:33
ok non-elim: B keeps AP - 50223:01:33
ok B surrendered - 50323:01:33
ok surrender does not transfer AP - 50423:01:33
ok surrendered AP is zeroed, not looted - 50523:01:33
Engine: no hearts, no buying lives (options do not exist) - 50623:01:33
ok hearts / buy-lives are not accepted rule keys - 50723:01:33
- 50823:01:33
Engine passed: 280 Failed: 0 - 50923:01:33
Store: lobby, join, start, actions, sync - 51023:01:33
ok create lobby - 51123:01:33
ok status lobby - 51223:01:33
ok 6-char code: FW3AZK - 51323:01:33
ok jury on - 51423:01:33
ok shrink off - 51523:01:33
ok ceasefire off - 51623:01:33
ok start alone refused - 51723:01:33
ok Bob joined - 51823:01:33
ok same lobby - 51923:01:33
ok re-join is idempotent - 52023:01:33
ok non-host refused - 52123:01:33
ok host set shrink on - 52223:01:33
ok interval 3 - 52323:01:33
ok ceasefire on - 52423:01:33
ok one range stored - 52523:01:33
ok started - 52623:01:33
ok 1 AP at start - 52723:01:33
ok view running - 52823:01:33
ok legal moves in view - 52923:01:33
ok has version - 53023:01:33
ok has server_now - 53123:01:33
ok timezone - 53223:01:33
ok unchanged sync - 53323:01:33
ok no full state when unchanged - 53423:01:33
ok lightweight fields present - 53523:01:33
ok Alice can move - 53623:01:33
ok AP spent - 53723:01:33
ok Bob sees a change - 53823:01:33
ok full state on change - 53923:01:33
ok Bob sees Alice’s new position - 54023:01:33
ok Alice sees her note - 54123:01:33
ok Bob does not - 54223:01:33
ok Alice sees message - 54323:01:33
ok Bob sees message - 54423:01:33
ok join after start refused - 54523:01:33
ok locale stored - 54623:01:33
ok locale read - 54723:01:33
ok zh-Hans normalised to zh - 54823:01:33
ok listed running game - 54923:01:33
ok Dan wins after Cara surrenders - 55023:01:33
ok unknown_code - 55123:01:33
ok bad shoot refused: out_of_range - 55223:01:33
ok AP unchanged after refused action (rollback) - 55323:01:33
safeNext - 55423:01:33
ok null next - 55523:01:33
ok empty next - 55623:01:33
ok plain path - 55723:01:33
ok join query with = - 55823:01:33
ok ampersand - 55923:01:33
ok hash fragment - 56023:01:33
ok rejects scheme - 56123:01:33
ok rejects protocol-relative - 56223:01:33
ok rejects absolute path - 56323:01:33
ok rejects backslash - 56423:01:33
- 56523:01:33
Total passed: 333 Failed: 0