projects-timfalken-com meteors
unit_tests
Passed Started 4 days ago by timfa
Running on Steve
Log timestamps in UTC.
- 108:40:03
Using docker image node:20-bookworm ... - 208:40:03
Using docker image sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 for node:20-bookworm with digest node@sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 ...
- 308:40:03
Running on Steve via BlueGit... - 408:40:03
Working directory: /workspace - 508:40:03
Pipeline #683, job #2654
- 608:40:05
debconf: delaying package configuration, since apt-utils is not installed - 708:40:10
TAP version 13 - 808:40:10
# Subtest: Flying cluster merge (t1102) - 908:40:10
# Subtest: merges two overlapping flying clusters and averages vy by block count - 1008:40:10
ok 1 - merges two overlapping flying clusters and averages vy by block count - 1108:40:10
--- - 1208:40:10
duration_ms: 2.667941 - 1308:40:10
... - 1408:40:10
# Subtest: merged cluster then moves as one with the averaged velocity - 1508:40:10
ok 2 - merged cluster then moves as one with the averaged velocity - 1608:40:10
--- - 1708:40:10
duration_ms: 2.077658 - 1808:40:10
... - 1908:40:10
# Subtest: merged vy <= 0 sets phase to down - 2008:40:10
ok 3 - merged vy <= 0 sets phase to down - 2108:40:10
--- - 2208:40:10
duration_ms: 0.571678 - 2308:40:10
... - 2408:40:10
# Subtest: does not merge clusters that do not overlap - 2508:40:10
ok 4 - does not merge clusters that do not overlap - 2608:40:10
--- - 2708:40:10
duration_ms: 0.292952 - 2808:40:10
... - 2908:40:10
# Subtest: two approaching clusters merge mid-flight during a tick - 3008:40:10
ok 5 - two approaching clusters merge mid-flight during a tick - 3108:40:10
--- - 3208:40:10
duration_ms: 2.922241 - 3308:40:10
... - 3408:40:10
1..5 - 3508:40:10
ok 1 - Flying cluster merge (t1102) - 3608:40:10
--- - 3708:40:10
duration_ms: 10.286508 - 3808:40:10
type: 'suite' - 3908:40:10
... - 4008:40:10
# Subtest: deploy_guard - 4108:40:10
# Subtest: expands $timftproot and ${timftproot} and collapses double slashes - 4208:40:10
ok 1 - expands $timftproot and ${timftproot} and collapses double slashes - 4308:40:10
--- - 4408:40:10
duration_ms: 194.880788 - 4508:40:10
... - 4608:40:10
# Subtest: refuses the FTP root, a missing secret, and a non-meteors leaf - 4708:40:10
ok 2 - refuses the FTP root, a missing secret, and a non-meteors leaf - 4808:40:10
--- - 4908:40:10
duration_ms: 118.289562 - 5008:40:10
... - 5108:40:10
# Subtest: the CLI exits 0 for a good path and does not print the path - 5208:40:10
ok 3 - the CLI exits 0 for a good path and does not print the path - 5308:40:10
--- - 5408:40:10
duration_ms: 15.810725 - 5508:40:10
... - 5608:40:10
1..3 - 5708:40:10
ok 2 - deploy_guard - 5808:40:10
--- - 5908:40:10
duration_ms: 330.680741 - 6008:40:10
type: 'suite' - 6108:40:10
... - 6208:40:10
# Subtest: assert_safe_target - 6308:40:10
# Subtest: allows a new, empty, previous, or leftover-files folder and only logs foreign names - 6408:40:10
ok 1 - allows a new, empty, previous, or leftover-files folder and only logs foreign names - 6508:40:10
--- - 6608:40:10
duration_ms: 27.725876 - 6708:40:10
... - 6808:40:10
# Subtest: the FTP mirror never deletes, never uploads favicon.ico, and leaves data/ alone - 6908:40:10
ok 2 - the FTP mirror never deletes, never uploads favicon.ico, and leaves data/ alone - 7008:40:10
--- - 7108:40:10
duration_ms: 24.762868 - 7208:40:10
... - 7308:40:10
1..2 - 7408:40:10
ok 3 - assert_safe_target - 7508:40:10
--- - 7608:40:10
duration_ms: 52.691015 - 7708:40:10
type: 'suite' - 7808:40:10
... - 7908:40:10
# Subtest: auth_config_php - 8008:40:10
# Subtest: is covered by ci/test_deploy_auth.py (PHP escaping, empty secret, no leak in lftp) - 8108:40:10
ok 1 - is covered by ci/test_deploy_auth.py (PHP escaping, empty secret, no leak in lftp) - 8208:40:10
--- - 8308:40:10
duration_ms: 49.359673 - 8408:40:10
... - 8508:40:10
1..1 - 8608:40:10
ok 4 - auth_config_php - 8708:40:10
--- - 8808:40:10
duration_ms: 49.636766 - 8908:40:10
type: 'suite' - 9008:40:10
... - 9108:40:10
# Subtest: Blocks under a flying cluster are draggable (t1107) - 9208:40:10
# Subtest: a still stack under a flyer in the same column can be grabbed and swapped - 9308:40:10
ok 1 - a still stack under a flyer in the same column can be grabbed and swapped - 9408:40:10
--- - 9508:40:10
duration_ms: 2.728555 - 9608:40:10
... - 9708:40:10
# Subtest: pressing on a flying cluster does not grab it or a block below - 9808:40:10
ok 2 - pressing on a flying cluster does not grab it or a block below - 9908:40:10
--- - 10008:40:10
duration_ms: 2.017916 - 10108:40:10
... - 10208:40:10
1..2 - 10308:40:10
ok 5 - Blocks under a flying cluster are draggable (t1107) - 10408:40:10
--- - 10508:40:10
duration_ms: 6.327172 - 10608:40:10
type: 'suite' - 10708:40:10
... - 10808:40:10
# Subtest: Dragging within, into and out of a landed cluster (t1107) - 10908:40:10
# Subtest: dragging within a landed cluster swaps members and keeps them in the group - 11008:40:10
ok 1 - dragging within a landed cluster swaps members and keeps them in the group - 11108:40:10
--- - 11208:40:10
duration_ms: 1.125383 - 11308:40:10
... - 11408:40:10
# Subtest: swapping a still block into a landed cluster makes it a member - 11508:40:10
ok 2 - swapping a still block into a landed cluster makes it a member - 11608:40:10
--- - 11708:40:10
duration_ms: 0.534908 - 11808:40:10
... - 11908:40:10
# Subtest: swapping a landed member out leaves the cluster; a grey keeps its settle timer - 12008:40:10
ok 3 - swapping a landed member out leaves the cluster; a grey keeps its settle timer - 12108:40:10
--- - 12208:40:10
duration_ms: 0.503119 - 12308:40:10
... - 12408:40:10
# Subtest: a gap in the column stops the swap; hanging members are part of the stack - 12508:40:10
ok 4 - a gap in the column stops the swap; hanging members are part of the stack - 12608:40:10
--- - 12708:40:10
duration_ms: 0.389294 - 12808:40:10
... - 12908:40:10
1..4 - 13008:40:10
ok 6 - Dragging within, into and out of a landed cluster (t1107) - 13108:40:10
--- - 13208:40:10
duration_ms: 2.948149 - 13308:40:10
type: 'suite' - 13408:40:10
... - 13508:40:10
# Subtest: Click-tween defaults (KWin Click Tween) - 13608:40:10
# Subtest: matches Tim's default scale, durations and Qt easing parameters - 13708:40:10
ok 1 - matches Tim's default scale, durations and Qt easing parameters - 13808:40:10
--- - 13908:40:10
duration_ms: 1.149829 - 14008:40:10
... - 14108:40:10
# Subtest: easeOutBack starts at 0, ends at 1, and overshoots past 1 mid-way - 14208:40:10
ok 2 - easeOutBack starts at 0, ends at 1, and overshoots past 1 mid-way - 14308:40:10
--- - 14408:40:10
duration_ms: 0.418309 - 14508:40:10
... - 14608:40:10
# Subtest: easeOutElastic ends at 1 and oscillates around the end value - 14708:40:10
ok 3 - easeOutElastic ends at 1 and oscillates around the end value - 14808:40:10
--- - 14908:40:10
duration_ms: 0.318792 - 15008:40:10
... - 15108:40:10
# Subtest: tween from 1.0 to 0.8 with easeOutBack overshoots below 0.8 then settles - 15208:40:10
ok 4 - tween from 1.0 to 0.8 with easeOutBack overshoots below 0.8 then settles - 15308:40:10
--- - 15408:40:10
duration_ms: 0.362113 - 15508:40:10
... - 15608:40:10
1..4 - 15708:40:10
ok 7 - Click-tween defaults (KWin Click Tween) - 15808:40:10
--- - 15908:40:10
duration_ms: 3.908411 - 16008:40:10
type: 'suite' - 16108:40:10
... - 16208:40:10
# Subtest: Planet apex-ease and bounce parameters - 16308:40:10
# Subtest: derives faster ease and bounce from lower fallTime (low air resistance) - 16408:40:10
ok 1 - derives faster ease and bounce from lower fallTime (low air resistance) - 16508:40:10
--- - 16608:40:10
duration_ms: 1.137265 - 16708:40:10
... - 16808:40:10
1..1 - 16908:40:10
ok 8 - Planet apex-ease and bounce parameters - 17008:40:10
--- - 17108:40:10
duration_ms: 2.5879 - 17208:40:10
type: 'suite' - 17308:40:10
... - 17408:40:10
# Subtest: Falling blocks land on flying clusters - 17508:40:10
# Subtest: a falling spawn lands on a flying cluster and flies along as cargo - 17608:40:10
ok 1 - a falling spawn lands on a flying cluster and flies along as cargo - 17708:40:10
--- - 17808:40:11
duration_ms: 10.716179 - 17908:40:11
... - 18008:40:11
# Subtest: a falling block does not pass through a descending or rising cluster - 18108:40:11
ok 2 - a falling block does not pass through a descending or rising cluster - 18208:40:11
--- - 18308:40:11
duration_ms: 5.126859 - 18408:40:11
... - 18508:40:11
# Subtest: a rising cluster that meets a falling block picks it up - 18608:40:11
ok 3 - a rising cluster that meets a falling block picks it up - 18708:40:11
--- - 18808:40:11
duration_ms: 61.641605 - 18908:40:11
... - 19008:40:11
1..3 - 19108:40:11
ok 9 - Falling blocks land on flying clusters - 19208:40:11
--- - 19308:40:11
duration_ms: 79.109436 - 19408:40:11
type: 'suite' - 19508:40:11
... - 19608:40:11
# Subtest: Rigid grey landing - 19708:40:11
# Subtest: keeps relative positions, so part of the group can hang above a gap - 19808:40:11
ok 1 - keeps relative positions, so part of the group can hang above a gap - 19908:40:11
--- - 20008:40:11
duration_ms: 10.110656 - 20108:40:11
... - 20208:40:11
# Subtest: after conversion, hanging blocks fall individually and supported ones stay - 20308:40:11
ok 2 - after conversion, hanging blocks fall individually and supported ones stay - 20408:40:11
--- - 20508:40:11
duration_ms: 13.423043 - 20608:40:11
... - 20708:40:11
1..2 - 20808:40:11
ok 10 - Rigid grey landing - 20908:40:11
--- - 21008:40:11
duration_ms: 23.803098 - 21108:40:11
type: 'suite' - 21208:40:11
... - 21308:40:11
# Subtest: Landing bounce planet parameter - 21408:40:11
# Subtest: sets bouncing on a landed block, faster at low air resistance - 21508:40:11
ok 1 - sets bouncing on a landed block, faster at low air resistance - 21608:40:11
--- - 21708:40:11
duration_ms: 1.194733 - 21808:40:11
... - 21908:40:11
# Subtest: a rigid cluster bounce only on members that actually rest on something - 22008:40:11
ok 2 - a rigid cluster bounce only on members that actually rest on something - 22108:40:11
--- - 22208:40:11
duration_ms: 2.925657 - 22308:40:11
... - 22408:40:11
1..2 - 22508:40:11
ok 11 - Landing bounce planet parameter - 22608:40:11
--- - 22708:40:11
duration_ms: 4.560681 - 22808:40:11
type: 'suite' - 22908:40:11
... - 23008:40:11
# Subtest: Recolor must not shoot blocks off the top (t1102) - 23108:40:11
# Subtest: clears leftover upward velocity: hanging cargo falls from rest after recolor, and does not fly off - 23208:40:11
ok 1 - clears leftover upward velocity: hanging cargo falls from rest after recolor, and does not fly off - 23308:40:11
--- - 23408:40:11
duration_ms: 14.469497 - 23508:40:11
... - 23608:40:11
# Subtest: a genuine match after recolor launches with normal jump physics, not leftover speed - 23708:40:11
ok 2 - a genuine match after recolor launches with normal jump physics, not leftover speed - 23808:40:11
--- - 23908:40:11
duration_ms: 88.877987 - 24008:40:11
... - 24108:40:11
1..2 - 24208:40:11
ok 12 - Recolor must not shoot blocks off the top (t1102) - 24308:40:11
--- - 24408:40:11
duration_ms: 103.629606 - 24508:40:11
type: 'suite' - 24608:40:11
... - 24708:40:11
# Subtest: Landed clusters form mixed matches with resting blocks (t1110) - 24808:40:11
# Subtest: coloured cargo that lands next to two resting blocks of the same colour launches immediately - 24908:40:11
ok 1 - coloured cargo that lands next to two resting blocks of the same colour launches immediately - 25008:40:11
--- - 25108:40:11
duration_ms: 2.614079 - 25208:40:11
... - 25308:40:11
# Subtest: a vertical mixed line of resting blocks and landed cargo also launches - 25408:40:11
ok 2 - a vertical mixed line of resting blocks and landed cargo also launches - 25508:40:11
--- - 25608:40:11
duration_ms: 0.448356 - 25708:40:11
... - 25808:40:11
# Subtest: grey cluster blocks have no colour and do not match until they recolor - 25908:40:11
ok 3 - grey cluster blocks have no colour and do not match until they recolor - 26008:40:11
--- - 26108:40:11
duration_ms: 0.420663 - 26208:40:11
... - 26308:40:11
# Subtest: after greys recolor on landing, a mixed line with resting blocks launches - 26408:40:11
ok 4 - after greys recolor on landing, a mixed line with resting blocks launches - 26508:40:11
--- - 26608:40:11
duration_ms: 19.284346 - 26708:40:11
... - 26808:40:11
# Subtest: a descending cluster that lands onto a mixed row launches through the tick - 26908:40:11
ok 5 - a descending cluster that lands onto a mixed row launches through the tick - 27008:40:11
--- - 27108:40:11
duration_ms: 63.882039 - 27208:40:11
... - 27308:40:11
1..5 - 27408:40:11
ok 13 - Landed clusters form mixed matches with resting blocks (t1110) - 27508:40:11
--- - 27608:40:11
duration_ms: 89.26667 - 27708:40:11
type: 'suite' - 27808:40:11
... - 27908:40:11
# Subtest: Column lock and game over - 28008:40:11
# Subtest: a column filled from floor to top becomes dark gray and locked - 28108:40:11
ok 1 - a column filled from floor to top becomes dark gray and locked - 28208:40:11
--- - 28308:40:11
duration_ms: 2.364249 - 28408:40:11
... - 28508:40:11
# Subtest: a new spawn never lands in a locked column - 28608:40:11
ok 2 - a new spawn never lands in a locked column - 28708:40:11
--- - 28808:40:11
duration_ms: 3.42533 - 28908:40:11
... - 29008:40:11
# Subtest: a nearly full column (12 blocks) is not locked - 29108:40:11
ok 3 - a nearly full column (12 blocks) is not locked - 29208:40:11
--- - 29308:40:11
duration_ms: 7.053913 - 29408:40:11
... - 29508:40:11
# Subtest: when every column is locked the player loses - 29608:40:11
ok 4 - when every column is locked the player loses - 29708:40:11
--- - 29808:40:11
duration_ms: 65.026337 - 29908:40:11
... - 30008:40:11
# Subtest: game over does not fire while at least one column is open - 30108:40:11
ok 5 - game over does not fire while at least one column is open - 30208:40:11
--- - 30308:40:11
duration_ms: 0.708677 - 30408:40:11
... - 30508:40:11
1..5 - 30608:40:11
ok 14 - Column lock and game over - 30708:40:11
--- - 30808:40:11
duration_ms: 81.014478 - 30908:40:11
type: 'suite' - 31008:40:11
... - 31108:40:11
# Subtest: Thrown blocks collide with falling blocks (t1108) - 31208:40:11
# Subtest: mergeManualWithFalling averages velocity, decel and jumpHeight by block count - 31308:40:11
ok 1 - mergeManualWithFalling averages velocity, decel and jumpHeight by block count - 31408:40:11
--- - 31508:40:11
duration_ms: 2.596577 - 31608:40:11
... - 31708:40:11
# Subtest: a thrown block merges with a falling block and they never pass through - 31808:40:11
ok 2 - a thrown block merges with a falling block and they never pass through - 31908:40:11
--- - 32008:40:11
duration_ms: 63.537159 - 32108:40:11
... - 32208:40:11
# Subtest: a stack of two falling blocks merges with the thrown block as one cluster of three - 32308:40:11
ok 3 - a stack of two falling blocks merges with the thrown block as one cluster of three - 32408:40:11
--- - 32508:40:11
duration_ms: 4.080485 - 32608:40:11
... - 32708:40:11
# Subtest: later falling cargo on a fromManual cluster also averages and does not pass through - 32808:40:11
ok 4 - later falling cargo on a fromManual cluster also averages and does not pass through - 32908:40:11
--- - 33008:40:11
duration_ms: 1.488907 - 33108:40:11
... - 33208:40:11
# Subtest: a fast substep that would cross still merges; they never pass through - 33308:40:11
ok 5 - a fast substep that would cross still merges; they never pass through - 33408:40:11
--- - 33508:40:11
duration_ms: 1.437511 - 33608:40:11
... - 33708:40:11
# Subtest: a normal match-rocket does not average falling cargo (existing attach rule) - 33808:40:11
ok 6 - a normal match-rocket does not average falling cargo (existing attach rule) - 33908:40:11
--- - 34008:40:11
duration_ms: 0.35529 - 34108:40:11
... - 34208:40:11
1..6 - 34308:40:11
ok 15 - Thrown blocks collide with falling blocks (t1108) - 34408:40:11
--- - 34508:40:11
duration_ms: 75.388068 - 34608:40:11
type: 'suite' - 34708:40:11
... - 34808:40:11
# Subtest: Match detection and launch - 34908:40:11
# Subtest: does not match two adjacent blocks of the same color - 35008:40:11
ok 1 - does not match two adjacent blocks of the same color - 35108:40:11
--- - 35208:40:11
duration_ms: 2.970512 - 35308:40:11
... - 35408:40:11
# Subtest: does not match a diagonal of three - 35508:40:11
ok 2 - does not match a diagonal of three - 35608:40:11
--- - 35708:40:11
duration_ms: 0.297331 - 35808:40:11
... - 35908:40:11
# Subtest: a horizontal row of 3 turns gray, links, and launches together - 36008:40:11
ok 3 - a horizontal row of 3 turns gray, links, and launches together - 36108:40:11
--- - 36208:40:11
duration_ms: 0.58875 - 36308:40:11
... - 36408:40:11
# Subtest: a vertical column of 3 launches with 120% jump height - 36508:40:11
ok 4 - a vertical column of 3 launches with 120% jump height - 36608:40:11
--- - 36708:40:11
duration_ms: 0.411817 - 36808:40:11
... - 36908:40:11
# Subtest: a horizontal row of 5 gets a 10% jump-height bonus (2 extra blocks) - 37008:40:11
ok 5 - a horizontal row of 5 gets a 10% jump-height bonus (2 extra blocks) - 37108:40:11
--- - 37208:40:11
duration_ms: 0.491597 - 37308:40:11
... - 37408:40:11
# Subtest: everything sitting on top of a match flies with it, keeping its color - 37508:40:11
ok 6 - everything sitting on top of a match flies with it, keeping its color - 37608:40:11
--- - 37708:40:11
duration_ms: 0.452704 - 37808:40:11
... - 37908:40:11
# Subtest: blocks below a vertical match stay on the ground - 38008:40:11
ok 7 - blocks below a vertical match stay on the ground - 38108:40:11
--- - 38208:40:11
duration_ms: 0.317419 - 38308:40:11
... - 38408:40:11
# Subtest: two disjoint horizontal matches become two clusters - 38508:40:11
ok 8 - two disjoint horizontal matches become two clusters - 38608:40:11
--- - 38708:40:11
duration_ms: 0.424029 - 38808:40:11
... - 38908:40:11
# Subtest: two matches in the same columns fly as one linked cluster - 39008:40:11
ok 9 - two matches in the same columns fly as one linked cluster - 39108:40:11
--- - 39208:40:11
duration_ms: 0.536953 - 39308:40:11
... - 39408:40:11
# Subtest: tick itself finds and launches a match after a swap - 39508:40:11
ok 10 - tick itself finds and launches a match after a swap - 39608:40:11
--- - 39708:40:11
duration_ms: 0.664403 - 39808:40:11
... - 39908:40:11
1..10 - 40008:40:11
ok 16 - Match detection and launch - 40108:40:11
--- - 40208:40:11
duration_ms: 9.138433 - 40308:40:11
type: 'suite' - 40408:40:11
... - 40508:40:11
# Subtest: Launch physics - 40608:40:11
# Subtest: reaches the jump height in riseTime, then eases into a constant descent - 40708:40:11
ok 1 - reaches the jump height in riseTime, then eases into a constant descent - 40808:40:11
--- - 40908:40:11
duration_ms: 66.858272 - 41008:40:11
... - 41108:40:11
1..1 - 41208:40:11
ok 17 - Launch physics - 41308:40:11
--- - 41408:40:11
duration_ms: 67.065963 - 41508:40:11
type: 'suite' - 41608:40:11
... - 41708:40:11
# Subtest: Outgoing shots and incoming garbage - 41808:40:11
# Subtest: blocks that leave the top are recorded as outgoing shots and can be consumed - 41908:40:11
ok 1 - blocks that leave the top are recorded as outgoing shots and can be consumed - 42008:40:11
--- - 42108:40:11
duration_ms: 68.528702 - 42208:40:11
... - 42308:40:11
# Subtest: ingestGarbage drops a falling grey that settles 3s then recolors - 42408:40:11
ok 2 - ingestGarbage drops a falling grey that settles 3s then recolors - 42508:40:11
--- - 42608:40:11
duration_ms: 9.43384 - 42708:40:11
... - 42808:40:11
# Subtest: ingestGarbage skips locked and full columns, and returns null when none are open - 42908:40:11
ok 3 - ingestGarbage skips locked and full columns, and returns null when none are open - 43008:40:11
--- - 43108:40:11
duration_ms: 2.494144 - 43208:40:11
... - 43308:40:11
# Subtest: missChance defaults to the planet Power formula and can still be overridden - 43408:40:11
ok 4 - missChance defaults to the planet Power formula and can still be overridden - 43508:40:11
--- - 43608:40:11
duration_ms: 3.528815 - 43708:40:11
... - 43808:40:11
# Subtest: fieldSnapshot lists every block for opponent miniatures - 43908:40:11
ok 5 - fieldSnapshot lists every block for opponent miniatures - 44008:40:11
--- - 44108:40:11
duration_ms: 0.379886 - 44208:40:11
... - 44308:40:11
1..5 - 44408:40:11
ok 18 - Outgoing shots and incoming garbage - 44508:40:11
--- - 44608:40:11
duration_ms: 86.209605 - 44708:40:11
type: 'suite' - 44808:40:11
... - 44908:40:11
# Subtest: Planet field and defaults - 45008:40:11
# Subtest: has a 10 by 13 field - 45108:40:11
ok 1 - has a 10 by 13 field - 45208:40:11
--- - 45308:40:11
duration_ms: 1.143337 - 45408:40:11
... - 45508:40:11
# Subtest: default planet is Terra with mid-range physics - 45608:40:11
ok 2 - default planet is Terra with mid-range physics - 45708:40:11
--- - 45808:40:11
duration_ms: 0.362834 - 45908:40:11
... - 46008:40:11
# Subtest: clamps gravity, air and mass to the stage-3 ranges - 46108:40:11
ok 3 - clamps gravity, air and mass to the stage-3 ranges - 46208:40:11
--- - 46308:40:11
duration_ms: 0.343628 - 46408:40:11
... - 46508:40:11
# Subtest: keeps colors and shapes data-driven with a unique shape per color - 46608:40:11
ok 4 - keeps colors and shapes data-driven with a unique shape per color - 46708:40:11
--- - 46808:40:11
duration_ms: 0.389986 - 46908:40:11
... - 47008:40:11
1..4 - 47108:40:11
ok 19 - Planet field and defaults - 47208:40:11
--- - 47308:40:11
duration_ms: 5.238008 - 47408:40:11
type: 'suite' - 47508:40:11
... - 47608:40:11
# Subtest: Jump height rules - 47708:40:11
# Subtest: a horizontal match of 3 uses the base jump height - 47808:40:11
ok 1 - a horizontal match of 3 uses the base jump height - 47908:40:11
--- - 48008:40:11
duration_ms: 0.373485 - 48108:40:11
... - 48208:40:11
# Subtest: a vertical match of 3 is 120% of a horizontal row - 48308:40:11
ok 2 - a vertical match of 3 is 120% of a horizontal row - 48408:40:11
--- - 48508:40:11
duration_ms: 0.213011 - 48608:40:11
... - 48708:40:11
# Subtest: each extra block beyond 3 adds 5% jump height - 48808:40:11
ok 3 - each extra block beyond 3 adds 5% jump height - 48908:40:11
--- - 49008:40:11
duration_ms: 0.152808 - 49108:40:11
... - 49208:40:11
# Subtest: at min gravity one horizontal-3 jump equals the field height - 49308:40:11
ok 4 - at min gravity one horizontal-3 jump equals the field height - 49408:40:11
--- - 49508:40:11
duration_ms: 0.189848 - 49608:40:11
... - 49708:40:11
# Subtest: at max gravity four horizontal-3 jumps equal the field height - 49808:40:11
ok 5 - at max gravity four horizontal-3 jumps equal the field height - 49908:40:11
--- - 50008:40:11
duration_ms: 0.194477 - 50108:40:11
... - 50208:40:11
1..5 - 50308:40:11
ok 20 - Jump height rules - 50408:40:11
--- - 50508:40:11
duration_ms: 1.65423 - 50608:40:11
type: 'suite' - 50708:40:11
... - 50808:40:11
# Subtest: Launch and fall physics parameters - 50908:40:11
# Subtest: a jump of height H peaks in riseTime at constant deceleration - 51008:40:11
ok 1 - a jump of height H peaks in riseTime at constant deceleration - 51108:40:11
--- - 51208:40:11
duration_ms: 0.285188 - 51308:40:11
... - 51408:40:11
# Subtest: apex time is independent of jump height (mass) - 51508:40:11
ok 2 - apex time is independent of jump height (mass) - 51608:40:11
--- - 51708:40:11
duration_ms: 0.222429 - 51808:40:11
... - 51908:40:11
# Subtest: fall speed is field height over fallTime (air resistance) - 52008:40:11
ok 3 - fall speed is field height over fallTime (air resistance) - 52108:40:11
--- - 52208:40:11
duration_ms: 0.155513 - 52308:40:11
... - 52408:40:11
1..3 - 52508:40:11
ok 21 - Launch and fall physics parameters - 52608:40:11
--- - 52708:40:11
duration_ms: 0.830666 - 52808:40:11
type: 'suite' - 52908:40:11
... - 53008:40:11
# Subtest: Power and display values - 53108:40:11
# Subtest: easiest planet has power 0 and 60% miss chance - 53208:40:11
ok 1 - easiest planet has power 0 and 60% miss chance - 53308:40:11
--- - 53408:40:11
duration_ms: 54.215691 - 53508:40:11
... - 53608:40:11
# Subtest: hardest planet has power 1 and 5% miss chance - 53708:40:11
ok 2 - hardest planet has power 1 and 5% miss chance - 53808:40:11
--- - 53908:40:11
duration_ms: 0.374075 - 54008:40:11
... - 54108:40:11
# Subtest: display values are numeric gravity, density, newtons and power % - 54208:40:11
ok 3 - display values are numeric gravity, density, newtons and power % - 54308:40:11
--- - 54408:40:11
duration_ms: 0.343307 - 54508:40:11
... - 54608:40:11
# Subtest: displayed Power is 1 − missChance / 0.60, so 0% miss shows as 100% Power - 54708:40:11
ok 4 - displayed Power is 1 − missChance / 0.60, so 0% miss shows as 100% Power - 54808:40:11
--- - 54908:40:11
duration_ms: 0.398251 - 55008:40:11
... - 55108:40:11
1..4 - 55208:40:11
ok 22 - Power and display values - 55308:40:11
--- - 55408:40:11
duration_ms: 55.728644 - 55508:40:11
type: 'suite' - 55608:40:11
... - 55708:40:11
# Subtest: Planet catalog - 55808:40:11
# Subtest: has 8–12 named worlds, each with a people name and five unique shapes - 55908:40:11
ok 1 - has 8–12 named worlds, each with a people name and five unique shapes - 56008:40:11
--- - 56108:40:11
duration_ms: 0.712804 - 56208:40:11
... - 56308:40:11
# Subtest: Aurel is the easiest (gameplay Power 0, 60% miss, shown as 0%) and Cinder the hardest (gameplay Power 1, 5% miss, shown as 92%) - 56408:40:11
ok 2 - Aurel is the easiest (gameplay Power 0, 60% miss, shown as 0%) and Cinder the hardest (gameplay Power 1, 5% miss, shown as 92%) - 56508:40:11
--- - 56608:40:11
duration_ms: 0.397119 - 56708:40:11
... - 56808:40:11
1..2 - 56908:40:11
ok 23 - Planet catalog - 57008:40:11
--- - 57108:40:11
duration_ms: 1.300903 - 57208:40:11
type: 'suite' - 57308:40:11
... - 57408:40:11
# Subtest: Points, landing and recolor - 57508:40:11
# Subtest: blocks that leave the top of the field become one point each and are gone - 57608:40:11
ok 1 - blocks that leave the top of the field become one point each and are gone - 57708:40:11
--- - 57808:40:11
duration_ms: 11.555091 - 57908:40:11
... - 58008:40:11
# Subtest: a cluster that does not clear the field lands, sits for 3 seconds, then takes random colors - 58108:40:11
ok 2 - a cluster that does not clear the field lands, sits for 3 seconds, then takes random colors - 58208:40:11
--- - 58308:40:11
duration_ms: 9.12561 - 58408:40:11
... - 58508:40:11
# Subtest: carried colored blocks keep their color and stay in the rigid group until greys convert - 58608:40:11
ok 3 - carried colored blocks keep their color and stay in the rigid group until greys convert - 58708:40:11
--- - 58808:40:11
duration_ms: 11.319877 - 58908:40:11
... - 59008:40:11
# Subtest: spawn drops a random color into a random open column every second - 59108:40:11
ok 4 - spawn drops a random color into a random open column every second - 59208:40:11
--- - 59308:40:11
duration_ms: 63.295275 - 59408:40:11
... - 59508:40:11
1..4 - 59608:40:11
ok 24 - Points, landing and recolor - 59708:40:11
--- - 59808:40:11
duration_ms: 97.167602 - 59908:40:11
type: 'suite' - 60008:40:11
... - 60108:40:11
# Subtest: Push-up and chain re-launch - 60208:40:11
# Subtest: a manual jump hitting a flying cluster pushes that column one tile up, other columns stay - 60308:40:11
ok 1 - a manual jump hitting a flying cluster pushes that column one tile up, other columns stay - 60408:40:11
--- - 60508:40:11
duration_ms: 6.436999 - 60608:40:11
... - 60708:40:11
# Subtest: a push that completes a new row of 3 turns those gray, links them, and re-launches the whole cluster the same height - 60808:40:11
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 - 60908:40:11
--- - 61008:40:11
duration_ms: 1.844789 - 61108:40:11
... - 61208:40:11
# Subtest: if a re-launch sends every block off the top, that is fine and they become points - 61308:40:11
ok 3 - if a re-launch sends every block off the top, that is fine and they become points - 61408:40:11
--- - 61508:40:11
duration_ms: 8.625125 - 61608:40:11
... - 61708:40:11
# Subtest: gray blocks can also disappear off the top and score points - 61808:40:11
ok 4 - gray blocks can also disappear off the top and score points - 61908:40:11
--- - 62008:40:11
duration_ms: 2.246496 - 62108:40:11
... - 62208:40:11
1..4 - 62308:40:11
ok 25 - Push-up and chain re-launch - 62408:40:11
--- - 62508:40:11
duration_ms: 20.882581 - 62608:40:11
type: 'suite' - 62708:40:11
... - 62808:40:11
# Subtest: Rng - 62908:40:11
# Subtest: is deterministic for the same seed - 63008:40:11
ok 1 - is deterministic for the same seed - 63108:40:11
--- - 63208:40:11
duration_ms: 1.85599 - 63308:40:11
... - 63408:40:11
# Subtest: differs across seeds and stays in [0, 1) - 63508:40:11
ok 2 - differs across seeds and stays in [0, 1) - 63608:40:11
--- - 63708:40:11
duration_ms: 0.755335 - 63808:40:11
... - 63908:40:11
# Subtest: pickIndex stays inside the range - 64008:40:11
ok 3 - pickIndex stays inside the range - 64108:40:11
--- - 64208:40:11
duration_ms: 0.444949 - 64308:40:11
... - 64408:40:11
1..3 - 64508:40:11
ok 26 - Rng - 64608:40:11
--- - 64708:40:11
duration_ms: 4.638898 - 64808:40:11
type: 'suite' - 64908:40:11
... - 65008:40:11
# Subtest: Cell-based grab picking (t1109) - 65108:40:11
# Subtest: a press anywhere inside the cell, including each corner, grabs that block - 65208:40:11
ok 1 - a press anywhere inside the cell, including each corner, grabs that block - 65308:40:11
--- - 65408:40:11
duration_ms: 2.896172 - 65508:40:11
... - 65608:40:11
# Subtest: a press in the padding / gap of a cell still grabs the occupant (not the sprite box) - 65708:40:11
ok 2 - a press in the padding / gap of a cell still grabs the occupant (not the sprite box) - 65808:40:11
--- - 65908:40:11
duration_ms: 1.572416 - 66008:40:11
... - 66108:40:11
# Subtest: when a block is mid-animation (non-integer y), the nearest in the column within half a tile is grabbed - 66208:40:11
ok 3 - when a block is mid-animation (non-integer y), the nearest in the column within half a tile is grabbed - 66308:40:11
--- - 66408:40:11
duration_ms: 0.540689 - 66508:40:11
... - 66608:40:11
# Subtest: floor of the pointer chooses the cell; the cell above is a different block - 66708:40:11
ok 4 - floor of the pointer chooses the cell; the cell above is a different block - 66808:40:11
--- - 66908:40:11
duration_ms: 0.364919 - 67008:40:11
... - 67108:40:11
1..4 - 67208:40:11
ok 27 - Cell-based grab picking (t1109) - 67308:40:11
--- - 67408:40:11
duration_ms: 6.992847 - 67508:40:11
type: 'suite' - 67608:40:11
... - 67708:40:11
# Subtest: Spontaneous matches always become rockets (t1104) - 67808:40:11
# Subtest: a row that forms on the ground after a block falls launches like a player match - 67908:40:11
ok 1 - a row that forms on the ground after a block falls launches like a player match - 68008:40:11
--- - 68108:40:11
duration_ms: 8.025604 - 68208:40:11
... - 68308:40:11
# Subtest: a row that appears after grey settle and recolor launches - 68408:40:11
ok 2 - a row that appears after grey settle and recolor launches - 68508:40:11
--- - 68608:40:11
duration_ms: 5.963856 - 68708:40:11
... - 68808:40:11
# Subtest: a match after cargo attaches to a flying cluster greys the new line and re-launches the whole cluster - 68908:40:11
ok 3 - a match after cargo attaches to a flying cluster greys the new line and re-launches the whole cluster - 69008:40:11
--- - 69108:40:11
duration_ms: 1.720855 - 69208:40:11
... - 69308:40:11
# Subtest: a match that appears when two flying clusters merge greys the line and re-launches - 69408:40:11
ok 4 - a match that appears when two flying clusters merge greys the line and re-launches - 69508:40:11
--- - 69608:40:11
duration_ms: 0.515281 - 69708:40:11
... - 69808:40:11
1..4 - 69908:40:11
ok 28 - Spontaneous matches always become rockets (t1104) - 70008:40:11
--- - 70108:40:11
duration_ms: 75.9296 - 70208:40:11
type: 'suite' - 70308:40:11
... - 70408:40:11
# Subtest: Vertical swapping - 70508:40:11
# Subtest: dragging a block through a column swaps it with the blocks it passes - 70608:40:11
ok 1 - dragging a block through a column swaps it with the blocks it passes - 70708:40:11
--- - 70808:40:11
duration_ms: 2.800912 - 70908:40:11
... - 71008:40:11
# Subtest: swapTo moves a block stepwise and exchanges neighbors - 71108:40:11
ok 2 - swapTo moves a block stepwise and exchanges neighbors - 71208:40:11
--- - 71308:40:11
duration_ms: 0.307831 - 71408:40:11
... - 71508:40:11
# Subtest: refuses to drag in a locked or flying column - 71608:40:11
ok 3 - refuses to drag in a locked or flying column - 71708:40:11
--- - 71808:40:11
duration_ms: 1.00761 - 71908:40:11
... - 72008:40:11
# Subtest: pulling a top block further up starts a manual launch that cannot leave the field - 72108:40:11
ok 4 - pulling a top block further up starts a manual launch that cannot leave the field - 72208:40:11
--- - 72308:40:11
duration_ms: 6.181116 - 72408:40:11
... - 72508:40:11
# Subtest: a manual jump from mid-stack still caps at the top cell - 72608:40:11
ok 5 - a manual jump from mid-stack still caps at the top cell - 72708:40:11
--- - 72808:40:11
duration_ms: 5.258777 - 72908:40:11
... - 73008:40:11
# Subtest: a click in the lower half of a cell grabs that cell, not the one above - 73108:40:11
ok 6 - a click in the lower half of a cell grabs that cell, not the one above - 73208:40:11
--- - 73308:40:11
duration_ms: 0.361031 - 73408:40:11
... - 73508:40:11
1..6 - 73608:40:11
ok 29 - Vertical swapping - 73708:40:11
--- - 73808:40:11
duration_ms: 17.73824 - 73908:40:11
type: 'suite' - 74008:40:11
... - 74108:40:11
# Subtest: Manual launch of the already-topmost block - 74208:40:11
# Subtest: dragging the top block upward past its own position starts a manual jump - 74308:40:11
ok 1 - dragging the top block upward past its own position starts a manual jump - 74408:40:11
--- - 74508:40:11
duration_ms: 1.456397 - 74608:40:11
... - 74708:40:11
# Subtest: a short upward twitch below LAUNCH_PULL does not launch - 74808:40:11
ok 2 - a short upward twitch below LAUNCH_PULL does not launch - 74908:40:11
--- - 75008:40:11
duration_ms: 0.249771 - 75108:40:11
... - 75208:40:11
# Subtest: dragging a mid-stack block up to the top still swaps instead of launching - 75308:40:11
ok 3 - dragging a mid-stack block up to the top still swaps instead of launching - 75408:40:11
--- - 75508:40:11
duration_ms: 0.388412 - 75608:40:11
... - 75708:40:11
# Subtest: after a mid-stack block becomes the top, a further pull into empty space still launches - 75808:40:11
ok 4 - after a mid-stack block becomes the top, a further pull into empty space still launches - 75908:40:11
--- - 76008:40:11
duration_ms: 0.230765 - 76108:40:11
... - 76208:40:11
1..4 - 76308:40:11
ok 30 - Manual launch of the already-topmost block - 76408:40:11
--- - 76508:40:11
duration_ms: 2.67283 - 76608:40:11
type: 'suite' - 76708:40:11
... - 76808:40:11
# Subtest: Instant grab, snap and 1:1 pointer tracking (t1102/t1103/t1104) - 76908:40:11
# Subtest: grabs instantly on beginDrag with no hold delay or elapsed time - 77008:40:11
ok 1 - grabs instantly on beginDrag with no hold delay or elapsed time - 77108:40:11
--- - 77208:40:11
duration_ms: 0.251654 - 77308:40:11
... - 77408:40:11
# Subtest: snaps to the nearest still block when the press is slightly outside it - 77508:40:11
ok 2 - snaps to the nearest still block when the press is slightly outside it - 77608:40:11
--- - 77708:40:11
duration_ms: 0.263737 - 77808:40:11
... - 77908:40:11
# Subtest: horizontal slop grabs a neighbouring column when the press is near the edge - 78008:40:11
ok 3 - horizontal slop grabs a neighbouring column when the press is near the edge - 78108:40:11
--- - 78208:40:11
duration_ms: 0.216509 - 78308:40:11
... - 78408:40:11
# Subtest: a slightly diagonal drag stays in the starting column - 78508:40:11
ok 4 - a slightly diagonal drag stays in the starting column - 78608:40:11
--- - 78708:40:11
duration_ms: 0.297471 - 78808:40:11
... - 78908:40:11
# Subtest: a short move that stays inside the same cell does not swap - 79008:40:11
ok 5 - a short move that stays inside the same cell does not swap - 79108:40:11
--- - 79208:40:11
duration_ms: 0.175862 - 79308:40:11
... - 79408:40:11
# Subtest: a 1-tile downward drag swaps exactly one step and stops when the pointer stops - 79508:40:11
ok 6 - a 1-tile downward drag swaps exactly one step and stops when the pointer stops - 79608:40:11
--- - 79708:40:11
duration_ms: 0.167816 - 79808:40:11
... - 79908:40:11
# Subtest: a 1-tile upward drag swaps exactly one step and stops when the pointer stops - 80008:40:11
ok 7 - a 1-tile upward drag swaps exactly one step and stops when the pointer stops - 80108:40:11
--- - 80208:40:11
duration_ms: 0.216709 - 80308:40:11
... - 80408:40:11
# Subtest: a 2-tile drag then stop leaves the block on the row under the pointer - 80508:40:11
ok 8 - a 2-tile drag then stop leaves the block on the row under the pointer - 80608:40:11
--- - 80708:40:11
duration_ms: 0.252266 - 80808:40:11
... - 80908:40:11
# Subtest: a fast swipe of several tiles swaps through every block and does not skip - 81008:40:11
ok 9 - a fast swipe of several tiles swaps through every block and does not skip - 81108:40:11
--- - 81208:40:11
duration_ms: 0.184528 - 81308:40:11
... - 81408:40:11
1..9 - 81508:40:11
ok 31 - Instant grab, snap and 1:1 pointer tracking (t1102/t1103/t1104) - 81608:40:11
--- - 81708:40:11
duration_ms: 2.427738 - 81808:40:11
type: 'suite' - 81908:40:11
... - 82008:40:11
1..31 - 82108:40:11
# tests 119 - 82208:40:11
# suites 31 - 82308:40:11
# pass 119 - 82408:40:11
# fail 0 - 82508:40:11
# cancelled 0 - 82608:40:11
# skipped 0 - 82708:40:11
# todo 0 - 82808:40:11
# duration_ms 577.262637 - 82908:40:11
auth-config ok - 83008:40:11
Store: lobby and game - 83108:40:11
ok create lobby returns id and code - 83208:40:11
ok new lobby is waiting - 83308:40:11
ok code is 4 characters - 83408:40:11
ok default miss chance 0.30 - 83508:40:11
ok creator is host - 83608:40:11
ok cannot start alone - 83708:40:11
ok start alone is refused: Er zijn minstens twee spelers nodig. - 83808:40:11
ok second player joins by code - 83908:40:11
ok two players in lobby - 84008:40:11
ok cannot start until both ready - 84108:40:11
ok all ready - 84208:40:11
ok host can start when all ready and 2+ - 84308:40:11
ok non-host cannot start - 84408:40:11
ok non-host start refused - 84508:40:11
ok game starts - 84608:40:11
ok two shot results - 84708:40:11
ok result has miss and duration - 84808:40:11
ok flight duration 1.2 - 84908:40:11
ok incoming not delivered before flight duration - 85008:40:11
ok incoming delivered after deliver_at (2 vs 2) - 85108:40:11
ok incoming is delivered only once - 85208:40:11
ok game finishes when one remains - 85308:40:11
ok rankings present - 85408:40:11
ok survivor is 1st - 85508:40:11
ok eliminated is 2nd - 85608:40:11
ok still finished during podium - 85708:40:11
ok back to lobby after podium seconds - 85808:40:11
ok ready flags reset - 85908:40:11
ok host transfers to remaining player - 86008:40:11
ok leave mid-game finishes if one remains - 86108:40:11
ok stayer wins - 86208:40:11
ok forced miss 1.0 → all miss - 86308:40:11
ok forced miss 0 → all hit the other player - 86408:40:11
ok no living target after opponent is out - 86508:40:11
- 86608:40:11
Planets and per-sender Power miss - 86708:40:11
ok catalog has 8–12 planets - 86808:40:11
ok terra, cinder, aurel exist - 86908:40:11
ok Aurel power 0 - 87008:40:11
ok Aurel miss 60% - 87108:40:11
ok Cinder power 1 - 87208:40:11
ok Cinder miss 5% - 87308:40:11
ok Terra display g/d/F/Power - 87408:40:11
ok Aurel displayed Power 0 - 87508:40:11
ok Cinder displayed Power 92 (5% miss) - 87608:40:11
ok Cinder displayValues Power 92 - 87708:40:11
ok host planet aurel - 87808:40:11
ok guest planet cinder - 87908:40:11
ok host miss from Aurel Power - 88008:40:11
ok guest miss from Cinder Power - 88108:40:11
ok setPlanet updates host to Wisp - 88208:40:11
ok unknown planet rejected - 88308:40:11
ok in-game miss uses the sender planet - 88408:40:11
ok guest still uses Cinder Power - 88508:40:11
ok planet locked once the match starts - 88608:40:11
- 88708:40:11
Config helpers - 88808:40:11
ok config() creates a file - 88908:40:11
ok config.php written to the data dir - 89008:40:11
ok secret starts empty (Tim must fill it in) - 89108:40:11
ok auth is unconfigured without a secret - 89208:40:11
ok empty file field falls back to env - 89308:40:11
- 89408:40:11
58 passed, 0 failed