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