projects-timfalken-com meteors
unit_tests
Passed Started 4 days ago by timfa
Running on Steve
Log timestamps in UTC.
- 100:14:10
Using docker image node:20-bookworm ... - 200:14:11
Using docker image sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 for node:20-bookworm with digest node@sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 ...
- 300:14:11
Running on Steve via BlueGit... - 400:14:11
Working directory: /workspace - 500:14:11
Pipeline #680, job #2645
- 600:14:13
debconf: delaying package configuration, since apt-utils is not installed - 700:14:18
TAP version 13 - 800:14:18
# Subtest: Flying cluster merge (t1102) - 900:14:18
# Subtest: merges two overlapping flying clusters and averages vy by block count - 1000:14:18
ok 1 - merges two overlapping flying clusters and averages vy by block count - 1100:14:18
--- - 1200:14:18
duration_ms: 2.420725 - 1300:14:18
... - 1400:14:18
# Subtest: merged cluster then moves as one with the averaged velocity - 1500:14:18
ok 2 - merged cluster then moves as one with the averaged velocity - 1600:14:18
--- - 1700:14:18
duration_ms: 0.666076 - 1800:14:18
... - 1900:14:18
# Subtest: merged vy <= 0 sets phase to down - 2000:14:18
ok 3 - merged vy <= 0 sets phase to down - 2100:14:18
--- - 2200:14:18
duration_ms: 0.521644 - 2300:14:18
... - 2400:14:18
# Subtest: does not merge clusters that do not overlap - 2500:14:18
ok 4 - does not merge clusters that do not overlap - 2600:14:18
--- - 2700:14:18
duration_ms: 0.300226 - 2800:14:18
... - 2900:14:18
# Subtest: two approaching clusters merge mid-flight during a tick - 3000:14:18
ok 5 - two approaching clusters merge mid-flight during a tick - 3100:14:18
--- - 3200:14:18
duration_ms: 2.503632 - 3300:14:18
... - 3400:14:18
1..5 - 3500:14:18
ok 1 - Flying cluster merge (t1102) - 3600:14:18
--- - 3700:14:18
duration_ms: 9.529222 - 3800:14:18
type: 'suite' - 3900:14:18
... - 4000:14:18
# Subtest: deploy_guard - 4100:14:18
# Subtest: expands $timftproot and ${timftproot} and collapses double slashes - 4200:14:18
ok 1 - expands $timftproot and ${timftproot} and collapses double slashes - 4300:14:18
--- - 4400:14:18
duration_ms: 130.391656 - 4500:14:18
... - 4600:14:18
# Subtest: refuses the FTP root, a missing secret, and a non-meteors leaf - 4700:14:18
ok 2 - refuses the FTP root, a missing secret, and a non-meteors leaf - 4800:14:18
--- - 4900:14:18
duration_ms: 96.37423 - 5000:14:18
... - 5100:14:18
# Subtest: the CLI exits 0 for a good path and does not print the path - 5200:14:18
ok 3 - the CLI exits 0 for a good path and does not print the path - 5300:14:18
--- - 5400:14:18
duration_ms: 16.270737 - 5500:14:18
... - 5600:14:18
1..3 - 5700:14:18
ok 2 - deploy_guard - 5800:14:18
--- - 5900:14:18
duration_ms: 244.58338 - 6000:14:18
type: 'suite' - 6100:14:18
... - 6200:14:18
# Subtest: assert_safe_target - 6300:14:18
# Subtest: allows a new, empty, previous, or leftover-files folder and only logs foreign names - 6400:14:18
ok 1 - allows a new, empty, previous, or leftover-files folder and only logs foreign names - 6500:14:18
--- - 6600:14:18
duration_ms: 32.892184 - 6700:14:18
... - 6800:14:18
# Subtest: the FTP mirror never deletes, never uploads favicon.ico, and leaves data/ alone - 6900:14:18
ok 2 - the FTP mirror never deletes, never uploads favicon.ico, and leaves data/ alone - 7000:14:18
--- - 7100:14:18
duration_ms: 26.519094 - 7200:14:18
... - 7300:14:18
1..2 - 7400:14:18
ok 3 - assert_safe_target - 7500:14:18
--- - 7600:14:18
duration_ms: 59.631353 - 7700:14:18
type: 'suite' - 7800:14:18
... - 7900:14:18
# Subtest: auth_config_php - 8000:14:18
# Subtest: is covered by ci/test_deploy_auth.py (PHP escaping, empty secret, no leak in lftp) - 8100:14:18
ok 1 - is covered by ci/test_deploy_auth.py (PHP escaping, empty secret, no leak in lftp) - 8200:14:18
--- - 8300:14:18
duration_ms: 48.086941 - 8400:14:18
... - 8500:14:18
1..1 - 8600:14:18
ok 4 - auth_config_php - 8700:14:18
--- - 8800:14:18
duration_ms: 48.378571 - 8900:14:18
type: 'suite' - 9000:14:18
... - 9100:14:18
# Subtest: Click-tween defaults (KWin Click Tween) - 9200:14:18
# Subtest: matches Tim's default scale, durations and Qt easing parameters - 9300:14:18
ok 1 - matches Tim's default scale, durations and Qt easing parameters - 9400:14:18
--- - 9500:14:18
duration_ms: 1.08152 - 9600:14:18
... - 9700:14:18
# Subtest: easeOutBack starts at 0, ends at 1, and overshoots past 1 mid-way - 9800:14:18
ok 2 - easeOutBack starts at 0, ends at 1, and overshoots past 1 mid-way - 9900:14:18
--- - 10000:14:18
duration_ms: 0.396798 - 10100:14:18
... - 10200:14:18
# Subtest: easeOutElastic ends at 1 and oscillates around the end value - 10300:14:18
ok 3 - easeOutElastic ends at 1 and oscillates around the end value - 10400:14:18
--- - 10500:14:18
duration_ms: 0.30231 - 10600:14:18
... - 10700:14:18
# Subtest: tween from 1.0 to 0.8 with easeOutBack overshoots below 0.8 then settles - 10800:14:18
ok 4 - tween from 1.0 to 0.8 with easeOutBack overshoots below 0.8 then settles - 10900:14:18
--- - 11000:14:18
duration_ms: 0.367914 - 11100:14:18
... - 11200:14:18
1..4 - 11300:14:18
ok 5 - Click-tween defaults (KWin Click Tween) - 11400:14:18
--- - 11500:14:18
duration_ms: 3.807461 - 11600:14:18
type: 'suite' - 11700:14:18
... - 11800:14:18
# Subtest: Planet apex-ease and bounce parameters - 11900:14:18
# Subtest: derives faster ease and bounce from lower fallTime (low air resistance) - 12000:14:18
ok 1 - derives faster ease and bounce from lower fallTime (low air resistance) - 12100:14:18
--- - 12200:14:18
duration_ms: 0.435231 - 12300:14:18
... - 12400:14:18
1..1 - 12500:14:18
ok 6 - Planet apex-ease and bounce parameters - 12600:14:18
--- - 12700:14:18
duration_ms: 0.608527 - 12800:14:18
type: 'suite' - 12900:14:18
... - 13000:14:18
# Subtest: Falling blocks land on flying clusters - 13100:14:18
# Subtest: a falling spawn lands on a flying cluster and flies along as cargo - 13200:14:18
ok 1 - a falling spawn lands on a flying cluster and flies along as cargo - 13300:14:18
--- - 13400:14:18
duration_ms: 10.44026 - 13500:14:18
... - 13600:14:18
# Subtest: a falling block does not pass through a descending or rising cluster - 13700:14:18
ok 2 - a falling block does not pass through a descending or rising cluster - 13800:14:18
--- - 13900:14:18
duration_ms: 61.380973 - 14000:14:18
... - 14100:14:18
# Subtest: a rising cluster that meets a falling block picks it up - 14200:14:18
ok 3 - a rising cluster that meets a falling block picks it up - 14300:14:18
--- - 14400:14:18
duration_ms: 3.599349 - 14500:14:18
... - 14600:14:18
1..3 - 14700:14:18
ok 7 - Falling blocks land on flying clusters - 14800:14:18
--- - 14900:14:18
duration_ms: 77.262365 - 15000:14:18
type: 'suite' - 15100:14:18
... - 15200:14:18
# Subtest: Rigid grey landing - 15300:14:18
# Subtest: keeps relative positions, so part of the group can hang above a gap - 15400:14:18
ok 1 - keeps relative positions, so part of the group can hang above a gap - 15500:14:18
--- - 15600:14:18
duration_ms: 9.519103 - 15700:14:18
... - 15800:14:18
# Subtest: after conversion, hanging blocks fall individually and supported ones stay - 15900:14:18
ok 2 - after conversion, hanging blocks fall individually and supported ones stay - 16000:14:18
--- - 16100:14:18
duration_ms: 11.260708 - 16200:14:18
... - 16300:14:18
1..2 - 16400:14:18
ok 8 - Rigid grey landing - 16500:14:18
--- - 16600:14:18
duration_ms: 21.038188 - 16700:14:18
type: 'suite' - 16800:14:18
... - 16900:14:18
# Subtest: Landing bounce planet parameter - 17000:14:18
# Subtest: sets bouncing on a landed block, faster at low air resistance - 17100:14:18
ok 1 - sets bouncing on a landed block, faster at low air resistance - 17200:14:18
--- - 17300:14:18
duration_ms: 0.820117 - 17400:14:18
... - 17500:14:18
# Subtest: a rigid cluster bounce only on members that actually rest on something - 17600:14:18
ok 2 - a rigid cluster bounce only on members that actually rest on something - 17700:14:18
--- - 17800:14:18
duration_ms: 1.053277 - 17900:14:18
... - 18000:14:18
1..2 - 18100:14:18
ok 9 - Landing bounce planet parameter - 18200:14:18
--- - 18300:14:18
duration_ms: 2.19479 - 18400:14:18
type: 'suite' - 18500:14:18
... - 18600:14:18
# Subtest: Recolor must not shoot blocks off the top (t1102) - 18700:14:18
# Subtest: clears leftover upward velocity: hanging cargo falls from rest after recolor, and does not fly off - 18800:14:18
ok 1 - clears leftover upward velocity: hanging cargo falls from rest after recolor, and does not fly off - 18900:14:18
--- - 19000:14:18
duration_ms: 10.097574 - 19100:14:18
... - 19200:14:18
# Subtest: a genuine match after recolor launches with normal jump physics, not leftover speed - 19300:14:18
ok 2 - a genuine match after recolor launches with normal jump physics, not leftover speed - 19400:14:18
--- - 19500:14:18
duration_ms: 62.756739 - 19600:14:18
... - 19700:14:18
1..2 - 19800:14:18
ok 10 - Recolor must not shoot blocks off the top (t1102) - 19900:14:18
--- - 20000:14:18
duration_ms: 73.090037 - 20100:14:18
type: 'suite' - 20200:14:18
... - 20300:14:18
# Subtest: Column lock and game over - 20400:14:18
# Subtest: a column filled from floor to top becomes dark gray and locked - 20500:14:18
ok 1 - a column filled from floor to top becomes dark gray and locked - 20600:14:18
--- - 20700:14:18
duration_ms: 2.267507 - 20800:14:18
... - 20900:14:18
# Subtest: a new spawn never lands in a locked column - 21000:14:18
ok 2 - a new spawn never lands in a locked column - 21100:14:18
--- - 21200:14:18
duration_ms: 5.235344 - 21300:14:18
... - 21400:14:18
# Subtest: a nearly full column (12 blocks) is not locked - 21500:14:18
ok 3 - a nearly full column (12 blocks) is not locked - 21600:14:18
--- - 21700:14:18
duration_ms: 0.971703 - 21800:14:18
... - 21900:14:18
# Subtest: when every column is locked the player loses - 22000:14:18
ok 4 - when every column is locked the player loses - 22100:14:18
--- - 22200:14:18
duration_ms: 63.043628 - 22300:14:18
... - 22400:14:18
# Subtest: game over does not fire while at least one column is open - 22500:14:18
ok 5 - game over does not fire while at least one column is open - 22600:14:18
--- - 22700:14:18
duration_ms: 1.034381 - 22800:14:18
... - 22900:14:18
1..5 - 23000:14:18
ok 11 - Column lock and game over - 23100:14:18
--- - 23200:14:18
duration_ms: 74.427809 - 23300:14:18
type: 'suite' - 23400:14:18
... - 23500:14:18
# Subtest: Match detection and launch - 23600:14:18
# Subtest: does not match two adjacent blocks of the same color - 23700:14:18
ok 1 - does not match two adjacent blocks of the same color - 23800:14:18
--- - 23900:14:18
duration_ms: 2.053453 - 24000:14:18
... - 24100:14:18
# Subtest: does not match a diagonal of three - 24200:14:18
ok 2 - does not match a diagonal of three - 24300:14:18
--- - 24400:14:18
duration_ms: 1.803442 - 24500:14:18
... - 24600:14:18
# Subtest: a horizontal row of 3 turns gray, links, and launches together - 24700:14:18
ok 3 - a horizontal row of 3 turns gray, links, and launches together - 24800:14:18
--- - 24900:14:18
duration_ms: 0.881272 - 25000:14:18
... - 25100:14:18
# Subtest: a vertical column of 3 launches with 120% jump height - 25200:14:18
ok 4 - a vertical column of 3 launches with 120% jump height - 25300:14:18
--- - 25400:14:18
duration_ms: 0.406768 - 25500:14:19
... - 25600:14:19
# Subtest: a horizontal row of 5 gets a 10% jump-height bonus (2 extra blocks) - 25700:14:19
ok 5 - a horizontal row of 5 gets a 10% jump-height bonus (2 extra blocks) - 25800:14:19
--- - 25900:14:19
duration_ms: 0.553735 - 26000:14:19
... - 26100:14:19
# Subtest: everything sitting on top of a match flies with it, keeping its color - 26200:14:19
ok 6 - everything sitting on top of a match flies with it, keeping its color - 26300:14:19
--- - 26400:14:19
duration_ms: 0.345492 - 26500:14:19
... - 26600:14:19
# Subtest: blocks below a vertical match stay on the ground - 26700:14:19
ok 7 - blocks below a vertical match stay on the ground - 26800:14:19
--- - 26900:14:19
duration_ms: 0.448255 - 27000:14:19
... - 27100:14:19
# Subtest: two disjoint horizontal matches become two clusters - 27200:14:19
ok 8 - two disjoint horizontal matches become two clusters - 27300:14:19
--- - 27400:14:19
duration_ms: 0.400115 - 27500:14:19
... - 27600:14:19
# Subtest: two matches in the same columns fly as one linked cluster - 27700:14:19
ok 9 - two matches in the same columns fly as one linked cluster - 27800:14:19
--- - 27900:14:19
duration_ms: 0.338689 - 28000:14:19
... - 28100:14:19
# Subtest: tick itself finds and launches a match after a swap - 28200:14:19
ok 10 - tick itself finds and launches a match after a swap - 28300:14:19
--- - 28400:14:19
duration_ms: 0.435882 - 28500:14:19
... - 28600:14:19
1..10 - 28700:14:19
ok 12 - Match detection and launch - 28800:14:19
--- - 28900:14:19
duration_ms: 9.561333 - 29000:14:19
type: 'suite' - 29100:14:19
... - 29200:14:19
# Subtest: Launch physics - 29300:14:19
# Subtest: reaches the jump height in riseTime, then eases into a constant descent - 29400:14:19
ok 1 - reaches the jump height in riseTime, then eases into a constant descent - 29500:14:19
--- - 29600:14:19
duration_ms: 72.32846 - 29700:14:19
... - 29800:14:19
1..1 - 29900:14:19
ok 13 - Launch physics - 30000:14:19
--- - 30100:14:19
duration_ms: 72.490146 - 30200:14:19
type: 'suite' - 30300:14:19
... - 30400:14:19
# Subtest: Outgoing shots and incoming garbage - 30500:14:19
# Subtest: blocks that leave the top are recorded as outgoing shots and can be consumed - 30600:14:19
ok 1 - blocks that leave the top are recorded as outgoing shots and can be consumed - 30700:14:19
--- - 30800:14:19
duration_ms: 66.42272 - 30900:14:19
... - 31000:14:19
# Subtest: ingestGarbage drops a falling grey that settles 3s then recolors - 31100:14:19
ok 2 - ingestGarbage drops a falling grey that settles 3s then recolors - 31200:14:19
--- - 31300:14:19
duration_ms: 13.450088 - 31400:14:19
... - 31500:14:19
# Subtest: ingestGarbage skips locked and full columns, and returns null when none are open - 31600:14:19
ok 3 - ingestGarbage skips locked and full columns, and returns null when none are open - 31700:14:19
--- - 31800:14:19
duration_ms: 2.190501 - 31900:14:19
... - 32000:14:19
# Subtest: missChance is a parameter defaulting to 0.30, independent of planet Power - 32100:14:19
ok 4 - missChance is a parameter defaulting to 0.30, independent of planet Power - 32200:14:19
--- - 32300:14:19
duration_ms: 0.416275 - 32400:14:19
... - 32500:14:19
# Subtest: fieldSnapshot lists every block for opponent miniatures - 32600:14:19
ok 5 - fieldSnapshot lists every block for opponent miniatures - 32700:14:19
--- - 32800:14:19
duration_ms: 0.326455 - 32900:14:19
... - 33000:14:19
1..5 - 33100:14:19
ok 14 - Outgoing shots and incoming garbage - 33200:14:19
--- - 33300:14:19
duration_ms: 84.718087 - 33400:14:19
type: 'suite' - 33500:14:19
... - 33600:14:19
# Subtest: Planet field and defaults - 33700:14:19
# Subtest: has a 10 by 13 field - 33800:14:19
ok 1 - has a 10 by 13 field - 33900:14:19
--- - 34000:14:19
duration_ms: 1.097029 - 34100:14:19
... - 34200:14:19
# Subtest: default planet is Terra with mid-range physics - 34300:14:19
ok 2 - default planet is Terra with mid-range physics - 34400:14:19
--- - 34500:14:19
duration_ms: 0.241766 - 34600:14:19
... - 34700:14:19
# Subtest: clamps gravity, air and mass to the stage-3 ranges - 34800:14:19
ok 3 - clamps gravity, air and mass to the stage-3 ranges - 34900:14:19
--- - 35000:14:19
duration_ms: 0.315625 - 35100:14:19
... - 35200:14:19
# Subtest: keeps colors and shapes data-driven with a unique shape per color - 35300:14:19
ok 4 - keeps colors and shapes data-driven with a unique shape per color - 35400:14:19
--- - 35500:14:19
duration_ms: 0.327247 - 35600:14:19
... - 35700:14:19
1..4 - 35800:14:19
ok 15 - Planet field and defaults - 35900:14:19
--- - 36000:14:19
duration_ms: 3.648271 - 36100:14:19
type: 'suite' - 36200:14:19
... - 36300:14:19
# Subtest: Jump height rules - 36400:14:19
# Subtest: a horizontal match of 3 uses the base jump height - 36500:14:19
ok 1 - a horizontal match of 3 uses the base jump height - 36600:14:19
--- - 36700:14:19
duration_ms: 0.341945 - 36800:14:19
... - 36900:14:19
# Subtest: a vertical match of 3 is 120% of a horizontal row - 37000:14:19
ok 2 - a vertical match of 3 is 120% of a horizontal row - 37100:14:19
--- - 37200:14:19
duration_ms: 1.163814 - 37300:14:19
... - 37400:14:19
# Subtest: each extra block beyond 3 adds 5% jump height - 37500:14:19
ok 3 - each extra block beyond 3 adds 5% jump height - 37600:14:19
--- - 37700:14:19
duration_ms: 0.232659 - 37800:14:19
... - 37900:14:19
# Subtest: at min gravity one horizontal-3 jump equals the field height - 38000:14:19
ok 4 - at min gravity one horizontal-3 jump equals the field height - 38100:14:19
--- - 38200:14:19
duration_ms: 0.308381 - 38300:14:19
... - 38400:14:19
# Subtest: at max gravity four horizontal-3 jumps equal the field height - 38500:14:19
ok 5 - at max gravity four horizontal-3 jumps equal the field height - 38600:14:19
--- - 38700:14:19
duration_ms: 0.31266 - 38800:14:19
... - 38900:14:19
1..5 - 39000:14:19
ok 16 - Jump height rules - 39100:14:19
--- - 39200:14:19
duration_ms: 2.945846 - 39300:14:19
type: 'suite' - 39400:14:19
... - 39500:14:19
# Subtest: Launch and fall physics parameters - 39600:14:19
# Subtest: a jump of height H peaks in riseTime at constant deceleration - 39700:14:19
ok 1 - a jump of height H peaks in riseTime at constant deceleration - 39800:14:19
--- - 39900:14:19
duration_ms: 0.369647 - 40000:14:19
... - 40100:14:19
# Subtest: apex time is independent of jump height (mass) - 40200:14:19
ok 2 - apex time is independent of jump height (mass) - 40300:14:19
--- - 40400:14:19
duration_ms: 0.343147 - 40500:14:19
... - 40600:14:19
# Subtest: fall speed is field height over fallTime (air resistance) - 40700:14:19
ok 3 - fall speed is field height over fallTime (air resistance) - 40800:14:19
--- - 40900:14:19
duration_ms: 0.273215 - 41000:14:19
... - 41100:14:19
1..3 - 41200:14:19
ok 17 - Launch and fall physics parameters - 41300:14:19
--- - 41400:14:19
duration_ms: 1.261799 - 41500:14:19
type: 'suite' - 41600:14:19
... - 41700:14:19
# Subtest: Power and display values - 41800:14:19
# Subtest: easiest planet has power 0 and 60% miss chance - 41900:14:19
ok 1 - easiest planet has power 0 and 60% miss chance - 42000:14:19
--- - 42100:14:19
duration_ms: 0.339069 - 42200:14:19
... - 42300:14:19
# Subtest: hardest planet has power 1 and 5% miss chance - 42400:14:19
ok 2 - hardest planet has power 1 and 5% miss chance - 42500:14:19
--- - 42600:14:19
duration_ms: 0.207531 - 42700:14:19
... - 42800:14:19
# Subtest: display values are numeric gravity, density, newtons and power % - 42900:14:19
ok 3 - display values are numeric gravity, density, newtons and power % - 43000:14:19
--- - 43100:14:19
duration_ms: 0.278165 - 43200:14:19
... - 43300:14:19
1..3 - 43400:14:19
ok 18 - Power and display values - 43500:14:19
--- - 43600:14:19
duration_ms: 1.15062 - 43700:14:19
type: 'suite' - 43800:14:19
... - 43900:14:19
# Subtest: Points, landing and recolor - 44000:14:19
# Subtest: blocks that leave the top of the field become one point each and are gone - 44100:14:19
ok 1 - blocks that leave the top of the field become one point each and are gone - 44200:14:19
--- - 44300:14:19
duration_ms: 7.383786 - 44400:14:19
... - 44500:14:19
# Subtest: a cluster that does not clear the field lands, sits for 3 seconds, then takes random colors - 44600:14:19
ok 2 - a cluster that does not clear the field lands, sits for 3 seconds, then takes random colors - 44700:14:19
--- - 44800:14:19
duration_ms: 65.320944 - 44900:14:19
... - 45000:14:19
# Subtest: carried colored blocks keep their color and stay in the rigid group until greys convert - 45100:14:19
ok 3 - carried colored blocks keep their color and stay in the rigid group until greys convert - 45200:14:19
--- - 45300:14:19
duration_ms: 4.348341 - 45400:14:19
... - 45500:14:19
# Subtest: spawn drops a random color into a random open column every second - 45600:14:19
ok 4 - spawn drops a random color into a random open column every second - 45700:14:19
--- - 45800:14:19
duration_ms: 8.660774 - 45900:14:19
... - 46000:14:19
1..4 - 46100:14:19
ok 19 - Points, landing and recolor - 46200:14:19
--- - 46300:14:19
duration_ms: 87.389806 - 46400:14:19
type: 'suite' - 46500:14:19
... - 46600:14:19
# Subtest: Push-up and chain re-launch - 46700:14:19
# Subtest: a manual jump hitting a flying cluster pushes that column one tile up, other columns stay - 46800:14:19
ok 1 - a manual jump hitting a flying cluster pushes that column one tile up, other columns stay - 46900:14:19
--- - 47000:14:19
duration_ms: 4.827905 - 47100:14:19
... - 47200:14:19
# Subtest: a push that completes a new row of 3 turns those gray, links them, and re-launches the whole cluster the same height - 47300:14:19
ok 2 - a push that completes a new row of 3 turns those gray, links them, and re-launches the whole cluster the same height - 47400:14:19
--- - 47500:14:19
duration_ms: 1.789735 - 47600:14:19
... - 47700:14:19
# Subtest: if a re-launch sends every block off the top, that is fine and they become points - 47800:14:19
ok 3 - if a re-launch sends every block off the top, that is fine and they become points - 47900:14:19
--- - 48000:14:19
duration_ms: 57.011252 - 48100:14:19
... - 48200:14:19
# Subtest: gray blocks can also disappear off the top and score points - 48300:14:19
ok 4 - gray blocks can also disappear off the top and score points - 48400:14:19
--- - 48500:14:19
duration_ms: 2.67224 - 48600:14:19
... - 48700:14:19
1..4 - 48800:14:19
ok 20 - Push-up and chain re-launch - 48900:14:19
--- - 49000:14:19
duration_ms: 68.533573 - 49100:14:19
type: 'suite' - 49200:14:19
... - 49300:14:19
# Subtest: Rng - 49400:14:19
# Subtest: is deterministic for the same seed - 49500:14:19
ok 1 - is deterministic for the same seed - 49600:14:19
--- - 49700:14:19
duration_ms: 1.817658 - 49800:14:19
... - 49900:14:19
# Subtest: differs across seeds and stays in [0, 1) - 50000:14:19
ok 2 - differs across seeds and stays in [0, 1) - 50100:14:19
--- - 50200:14:19
duration_ms: 0.474475 - 50300:14:19
... - 50400:14:19
# Subtest: pickIndex stays inside the range - 50500:14:19
ok 3 - pickIndex stays inside the range - 50600:14:19
--- - 50700:14:19
duration_ms: 0.288324 - 50800:14:19
... - 50900:14:19
1..3 - 51000:14:19
ok 21 - Rng - 51100:14:19
--- - 51200:14:19
duration_ms: 3.985948 - 51300:14:19
type: 'suite' - 51400:14:19
... - 51500:14:19
# Subtest: Vertical swapping - 51600:14:19
# Subtest: dragging a block through a column swaps it with the blocks it passes - 51700:14:19
ok 1 - dragging a block through a column swaps it with the blocks it passes - 51800:14:19
--- - 51900:14:19
duration_ms: 2.518901 - 52000:14:19
... - 52100:14:19
# Subtest: swapTo moves a block stepwise and exchanges neighbors - 52200:14:19
ok 2 - swapTo moves a block stepwise and exchanges neighbors - 52300:14:19
--- - 52400:14:19
duration_ms: 0.248158 - 52500:14:19
... - 52600:14:19
# Subtest: refuses to drag in a locked or flying column - 52700:14:19
ok 3 - refuses to drag in a locked or flying column - 52800:14:19
--- - 52900:14:19
duration_ms: 0.749223 - 53000:14:19
... - 53100:14:19
# Subtest: pulling a top block further up starts a manual launch that cannot leave the field - 53200:14:19
ok 4 - pulling a top block further up starts a manual launch that cannot leave the field - 53300:14:19
--- - 53400:14:19
duration_ms: 5.867366 - 53500:14:19
... - 53600:14:19
# Subtest: a manual jump from mid-stack still caps at the top cell - 53700:14:19
ok 5 - a manual jump from mid-stack still caps at the top cell - 53800:14:19
--- - 53900:14:19
duration_ms: 3.614958 - 54000:14:19
... - 54100:14:19
# Subtest: a click in the lower half of a cell grabs that cell, not the one above - 54200:14:19
ok 6 - a click in the lower half of a cell grabs that cell, not the one above - 54300:14:19
--- - 54400:14:19
duration_ms: 0.347927 - 54500:14:19
... - 54600:14:19
1..6 - 54700:14:19
ok 22 - Vertical swapping - 54800:14:19
--- - 54900:14:19
duration_ms: 14.784112 - 55000:14:19
type: 'suite' - 55100:14:19
... - 55200:14:19
# Subtest: Manual launch of the already-topmost block - 55300:14:19
# Subtest: dragging the top block upward past its own position starts a manual jump - 55400:14:19
ok 1 - dragging the top block upward past its own position starts a manual jump - 55500:14:19
--- - 55600:14:19
duration_ms: 1.317435 - 55700:14:19
... - 55800:14:19
# Subtest: a short upward twitch below LAUNCH_PULL does not launch - 55900:14:19
ok 2 - a short upward twitch below LAUNCH_PULL does not launch - 56000:14:19
--- - 56100:14:19
duration_ms: 0.274658 - 56200:14:19
... - 56300:14:19
# Subtest: dragging a mid-stack block up to the top still swaps instead of launching - 56400:14:19
ok 3 - dragging a mid-stack block up to the top still swaps instead of launching - 56500:14:19
--- - 56600:14:19
duration_ms: 0.320635 - 56700:14:19
... - 56800:14:19
# Subtest: after a mid-stack block becomes the top, a further pull into empty space still launches - 56900:14:19
ok 4 - after a mid-stack block becomes the top, a further pull into empty space still launches - 57000:14:19
--- - 57100:14:19
duration_ms: 0.232969 - 57200:14:19
... - 57300:14:19
1..4 - 57400:14:19
ok 23 - Manual launch of the already-topmost block - 57500:14:19
--- - 57600:14:19
duration_ms: 2.528148 - 57700:14:19
type: 'suite' - 57800:14:19
... - 57900:14:19
# Subtest: Instant grab, snap and accumulated swaps (t1102/t1103) - 58000:14:19
# Subtest: grabs instantly on beginDrag with no hold delay or elapsed time - 58100:14:19
ok 1 - grabs instantly on beginDrag with no hold delay or elapsed time - 58200:14:19
--- - 58300:14:19
duration_ms: 0.267845 - 58400:14:19
... - 58500:14:19
# Subtest: snaps to the nearest still block when the press is slightly outside it - 58600:14:19
ok 2 - snaps to the nearest still block when the press is slightly outside it - 58700:14:19
--- - 58800:14:19
duration_ms: 0.351513 - 58900:14:19
... - 59000:14:19
# Subtest: horizontal slop grabs a neighbouring column when the press is near the edge - 59100:14:19
ok 3 - horizontal slop grabs a neighbouring column when the press is near the edge - 59200:14:19
--- - 59300:14:19
duration_ms: 0.236225 - 59400:14:19
... - 59500:14:19
# Subtest: a slightly diagonal drag stays in the starting column - 59600:14:19
ok 4 - a slightly diagonal drag stays in the starting column - 59700:14:19
--- - 59800:14:19
duration_ms: 0.198855 - 59900:14:19
... - 60000:14:19
# Subtest: minimal accumulated travel swaps one step, with no delay before the drag starts - 60100:14:19
ok 5 - minimal accumulated travel swaps one step, with no delay before the drag starts - 60200:14:19
--- - 60300:14:19
duration_ms: 0.181252 - 60400:14:19
... - 60500:14:19
# Subtest: a fast swipe of several tiles swaps through every block and does not skip - 60600:14:19
ok 6 - a fast swipe of several tiles swaps through every block and does not skip - 60700:14:19
--- - 60800:14:19
duration_ms: 0.188195 - 60900:14:19
... - 61000:14:19
1..6 - 61100:14:19
ok 24 - Instant grab, snap and accumulated swaps (t1102/t1103) - 61200:14:19
--- - 61300:14:19
duration_ms: 1.731085 - 61400:14:19
type: 'suite' - 61500:14:19
... - 61600:14:19
1..24 - 61700:14:19
# tests 88 - 61800:14:19
# suites 24 - 61900:14:19
# pass 88 - 62000:14:19
# fail 0 - 62100:14:19
# cancelled 0 - 62200:14:19
# skipped 0 - 62300:14:19
# todo 0 - 62400:14:19
# duration_ms 476.928729 - 62500:14:19
auth-config ok - 62600:14:19
Store: lobby and game - 62700:14:19
ok create lobby returns id and code - 62800:14:19
ok new lobby is waiting - 62900:14:19
ok code is 4 characters - 63000:14:19
ok default miss chance 0.30 - 63100:14:19
ok creator is host - 63200:14:19
ok cannot start alone - 63300:14:19
ok start alone is refused: Er zijn minstens twee spelers nodig. - 63400:14:19
ok second player joins by code - 63500:14:19
ok two players in lobby - 63600:14:19
ok cannot start until both ready - 63700:14:19
ok all ready - 63800:14:19
ok host can start when all ready and 2+ - 63900:14:19
ok non-host cannot start - 64000:14:19
ok non-host start refused - 64100:14:19
ok game starts - 64200:14:19
ok two shot results - 64300:14:19
ok result has miss and duration - 64400:14:19
ok flight duration 1.2 - 64500:14:19
ok all missed — no incoming expected - 64600:14:19
ok incoming delivered after deliver_at (0 vs 0) - 64700:14:19
ok incoming is delivered only once - 64800:14:19
ok game finishes when one remains - 64900:14:19
ok rankings present - 65000:14:19
ok survivor is 1st - 65100:14:19
ok eliminated is 2nd - 65200:14:19
ok still finished during podium - 65300:14:19
ok back to lobby after podium seconds - 65400:14:19
ok ready flags reset - 65500:14:19
ok host transfers to remaining player - 65600:14:19
ok leave mid-game finishes if one remains - 65700:14:19
ok stayer wins - 65800:14:19
ok miss_chance 1.0 → all miss - 65900:14:19
ok miss_chance 0 → all hit the other player - 66000:14:19
ok no living target after opponent is out - 66100:14:19
- 66200:14:19
Config helpers - 66300:14:19
ok config() creates a file - 66400:14:19
ok config.php written to the data dir - 66500:14:19
ok secret starts empty (Tim must fill it in) - 66600:14:19
ok auth is unconfigured without a secret - 66700:14:19
ok empty file field falls back to env - 66800:14:19
- 66900:14:19
39 passed, 0 failed