BlueGit

projects-timfalken-com meteors

unit_tests

Pipelines Pipeline Editor

Passed Started 4 days ago by timfa

Raw

Running on Steve

Log timestamps in UTC.

  1. 100:07:47Using docker image node:20-bookworm ...
  2. 200:07:47Using docker image sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 for node:20-bookworm with digest node@sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 ...
  1. 300:07:47Running on Steve via BlueGit...
  2. 400:07:47Working directory: /workspace
  3. 500:07:47Pipeline #679, job #2642
  1. 600:07:49debconf: delaying package configuration, since apt-utils is not installed
  2. 700:07:54TAP version 13
  3. 800:07:54# Subtest: Flying cluster merge (t1102)
  4. 900:07:54 # Subtest: merges two overlapping flying clusters and averages vy by block count
  5. 1000:07:54 ok 1 - merges two overlapping flying clusters and averages vy by block count
  6. 1100:07:54 ---
  7. 1200:07:54 duration_ms: 2.389446
  8. 1300:07:54 ...
  9. 1400:07:54 # Subtest: merged cluster then moves as one with the averaged velocity
  10. 1500:07:54 ok 2 - merged cluster then moves as one with the averaged velocity
  11. 1600:07:54 ---
  12. 1700:07:54 duration_ms: 0.664804
  13. 1800:07:54 ...
  14. 1900:07:54 # Subtest: merged vy <= 0 sets phase to down
  15. 2000:07:54 ok 3 - merged vy <= 0 sets phase to down
  16. 2100:07:54 ---
  17. 2200:07:54 duration_ms: 0.512967
  18. 2300:07:54 ...
  19. 2400:07:54 # Subtest: does not merge clusters that do not overlap
  20. 2500:07:54 ok 4 - does not merge clusters that do not overlap
  21. 2600:07:54 ---
  22. 2700:07:54 duration_ms: 0.301498
  23. 2800:07:54 ...
  24. 2900:07:54 # Subtest: two approaching clusters merge mid-flight during a tick
  25. 3000:07:54 ok 5 - two approaching clusters merge mid-flight during a tick
  26. 3100:07:54 ---
  27. 3200:07:54 duration_ms: 2.649457
  28. 3300:07:54 ...
  29. 3400:07:54 1..5
  30. 3500:07:54ok 1 - Flying cluster merge (t1102)
  31. 3600:07:54 ---
  32. 3700:07:54 duration_ms: 9.081729
  33. 3800:07:54 type: 'suite'
  34. 3900:07:54 ...
  35. 4000:07:54# Subtest: deploy_guard
  36. 4100:07:54 # Subtest: expands $timftproot and ${timftproot} and collapses double slashes
  37. 4200:07:54 ok 1 - expands $timftproot and ${timftproot} and collapses double slashes
  38. 4300:07:54 ---
  39. 4400:07:54 duration_ms: 185.437632
  40. 4500:07:54 ...
  41. 4600:07:54 # Subtest: refuses the FTP root, a missing secret, and a non-meteors leaf
  42. 4700:07:54 ok 2 - refuses the FTP root, a missing secret, and a non-meteors leaf
  43. 4800:07:54 ---
  44. 4900:07:54 duration_ms: 46.435326
  45. 5000:07:54 ...
  46. 5100:07:54 # Subtest: the CLI exits 0 for a good path and does not print the path
  47. 5200:07:54 ok 3 - the CLI exits 0 for a good path and does not print the path
  48. 5300:07:54 ---
  49. 5400:07:54 duration_ms: 16.220004
  50. 5500:07:54 ...
  51. 5600:07:54 1..3
  52. 5700:07:54ok 2 - deploy_guard
  53. 5800:07:54 ---
  54. 5900:07:54 duration_ms: 249.755257
  55. 6000:07:54 type: 'suite'
  56. 6100:07:54 ...
  57. 6200:07:54# Subtest: assert_safe_target
  58. 6300:07:54 # Subtest: allows a new, empty, previous, or leftover-files folder and only logs foreign names
  59. 6400:07:54 ok 1 - allows a new, empty, previous, or leftover-files folder and only logs foreign names
  60. 6500:07:54 ---
  61. 6600:07:54 duration_ms: 24.130264
  62. 6700:07:54 ...
  63. 6800:07:54 # Subtest: the FTP mirror never deletes, never uploads favicon.ico, and leaves data/ alone
  64. 6900:07:54 ok 2 - the FTP mirror never deletes, never uploads favicon.ico, and leaves data/ alone
  65. 7000:07:54 ---
  66. 7100:07:54 duration_ms: 21.998864
  67. 7200:07:54 ...
  68. 7300:07:54 1..2
  69. 7400:07:54ok 3 - assert_safe_target
  70. 7500:07:54 ---
  71. 7600:07:54 duration_ms: 46.345376
  72. 7700:07:54 type: 'suite'
  73. 7800:07:54 ...
  74. 7900:07:54# Subtest: Click-tween defaults (KWin Click Tween)
  75. 8000:07:54 # Subtest: matches Tim's default scale, durations and Qt easing parameters
  76. 8100:07:54 ok 1 - matches Tim's default scale, durations and Qt easing parameters
  77. 8200:07:54 ---
  78. 8300:07:54 duration_ms: 1.154237
  79. 8400:07:54 ...
  80. 8500:07:54 # Subtest: easeOutBack starts at 0, ends at 1, and overshoots past 1 mid-way
  81. 8600:07:54 ok 2 - easeOutBack starts at 0, ends at 1, and overshoots past 1 mid-way
  82. 8700:07:54 ---
  83. 8800:07:54 duration_ms: 0.432385
  84. 8900:07:54 ...
  85. 9000:07:54 # Subtest: easeOutElastic ends at 1 and oscillates around the end value
  86. 9100:07:54 ok 3 - easeOutElastic ends at 1 and oscillates around the end value
  87. 9200:07:54 ---
  88. 9300:07:54 duration_ms: 0.305636
  89. 9400:07:54 ...
  90. 9500:07:54 # Subtest: tween from 1.0 to 0.8 with easeOutBack overshoots below 0.8 then settles
  91. 9600:07:54 ok 4 - tween from 1.0 to 0.8 with easeOutBack overshoots below 0.8 then settles
  92. 9700:07:54 ---
  93. 9800:07:54 duration_ms: 0.393052
  94. 9900:07:54 ...
  95. 10000:07:54 1..4
  96. 10100:07:54ok 4 - Click-tween defaults (KWin Click Tween)
  97. 10200:07:54 ---
  98. 10300:07:54 duration_ms: 3.952265
  99. 10400:07:54 type: 'suite'
  100. 10500:07:54 ...
  101. 10600:07:54# Subtest: Planet apex-ease and bounce parameters
  102. 10700:07:54 # Subtest: derives faster ease and bounce from lower fallTime (low air resistance)
  103. 10800:07:54 ok 1 - derives faster ease and bounce from lower fallTime (low air resistance)
  104. 10900:07:54 ---
  105. 11000:07:54 duration_ms: 0.444738
  106. 11100:07:54 ...
  107. 11200:07:54 1..1
  108. 11300:07:54ok 5 - Planet apex-ease and bounce parameters
  109. 11400:07:54 ---
  110. 11500:07:54 duration_ms: 0.617715
  111. 11600:07:54 type: 'suite'
  112. 11700:07:54 ...
  113. 11800:07:54# Subtest: Falling blocks land on flying clusters
  114. 11900:07:54 # Subtest: a falling spawn lands on a flying cluster and flies along as cargo
  115. 12000:07:54 ok 1 - a falling spawn lands on a flying cluster and flies along as cargo
  116. 12100:07:54 ---
  117. 12200:07:54 duration_ms: 8.116268
  118. 12300:07:54 ...
  119. 12400:07:54 # Subtest: a falling block does not pass through a descending or rising cluster
  120. 12500:07:54 ok 2 - a falling block does not pass through a descending or rising cluster
  121. 12600:07:54 ---
  122. 12700:07:54 duration_ms: 5.202232
  123. 12800:07:54 ...
  124. 12900:07:54 # Subtest: a rising cluster that meets a falling block picks it up
  125. 13000:07:54 ok 3 - a rising cluster that meets a falling block picks it up
  126. 13100:07:54 ---
  127. 13200:07:54 duration_ms: 1.397866
  128. 13300:07:54 ...
  129. 13400:07:54 1..3
  130. 13500:07:54ok 6 - Falling blocks land on flying clusters
  131. 13600:07:54 ---
  132. 13700:07:54 duration_ms: 16.043832
  133. 13800:07:54 type: 'suite'
  134. 13900:07:54 ...
  135. 14000:07:54# Subtest: Rigid grey landing
  136. 14100:07:54 # Subtest: keeps relative positions, so part of the group can hang above a gap
  137. 14200:07:54 ok 1 - keeps relative positions, so part of the group can hang above a gap
  138. 14300:07:54 ---
  139. 14400:07:54 duration_ms: 7.144697
  140. 14500:07:54 ...
  141. 14600:07:54 # Subtest: after conversion, hanging blocks fall individually and supported ones stay
  142. 14700:07:54 ok 2 - after conversion, hanging blocks fall individually and supported ones stay
  143. 14800:07:54 ---
  144. 14900:07:54 duration_ms: 77.046054
  145. 15000:07:54 ...
  146. 15100:07:54 1..2
  147. 15200:07:54ok 7 - Rigid grey landing
  148. 15300:07:54 ---
  149. 15400:07:54 duration_ms: 84.468945
  150. 15500:07:54 type: 'suite'
  151. 15600:07:54 ...
  152. 15700:07:54# Subtest: Landing bounce planet parameter
  153. 15800:07:54 # Subtest: sets bouncing on a landed block, faster at low air resistance
  154. 15900:07:54 ok 1 - sets bouncing on a landed block, faster at low air resistance
  155. 16000:07:54 ---
  156. 16100:07:54 duration_ms: 0.891702
  157. 16200:07:54 ...
  158. 16300:07:54 # Subtest: a rigid cluster bounce only on members that actually rest on something
  159. 16400:07:54 ok 2 - a rigid cluster bounce only on members that actually rest on something
  160. 16500:07:54 ---
  161. 16600:07:54 duration_ms: 2.59787
  162. 16700:07:54 ...
  163. 16800:07:54 1..2
  164. 16900:07:54ok 8 - Landing bounce planet parameter
  165. 17000:07:54 ---
  166. 17100:07:54 duration_ms: 3.905566
  167. 17200:07:54 type: 'suite'
  168. 17300:07:54 ...
  169. 17400:07:54# Subtest: Recolor must not shoot blocks off the top (t1102)
  170. 17500:07:54 # Subtest: clears leftover upward velocity: hanging cargo falls from rest after recolor, and does not fly off
  171. 17600:07:54 ok 1 - clears leftover upward velocity: hanging cargo falls from rest after recolor, and does not fly off
  172. 17700:07:54 ---
  173. 17800:07:54 duration_ms: 9.325269
  174. 17900:07:54 ...
  175. 18000:07:54 # Subtest: a genuine match after recolor launches with normal jump physics, not leftover speed
  176. 18100:07:54 ok 2 - a genuine match after recolor launches with normal jump physics, not leftover speed
  177. 18200:07:54 ---
  178. 18300:07:54 duration_ms: 9.170077
  179. 18400:07:54 ...
  180. 18500:07:54 1..2
  181. 18600:07:54ok 9 - Recolor must not shoot blocks off the top (t1102)
  182. 18700:07:54 ---
  183. 18800:07:54 duration_ms: 18.760816
  184. 18900:07:54 type: 'suite'
  185. 19000:07:54 ...
  186. 19100:07:54# Subtest: Column lock and game over
  187. 19200:07:54 # Subtest: a column filled from floor to top becomes dark gray and locked
  188. 19300:07:54 ok 1 - a column filled from floor to top becomes dark gray and locked
  189. 19400:07:54 ---
  190. 19500:07:54 duration_ms: 2.226128
  191. 19600:07:54 ...
  192. 19700:07:54 # Subtest: a new spawn never lands in a locked column
  193. 19800:07:54 ok 2 - a new spawn never lands in a locked column
  194. 19900:07:54 ---
  195. 20000:07:55 duration_ms: 5.62999
  196. 20100:07:55 ...
  197. 20200:07:55 # Subtest: a nearly full column (12 blocks) is not locked
  198. 20300:07:55 ok 3 - a nearly full column (12 blocks) is not locked
  199. 20400:07:55 ---
  200. 20500:07:55 duration_ms: 2.993977
  201. 20600:07:55 ...
  202. 20700:07:55 # Subtest: when every column is locked the player loses
  203. 20800:07:55 ok 4 - when every column is locked the player loses
  204. 20900:07:55 ---
  205. 21000:07:55 duration_ms: 5.564586
  206. 21100:07:55 ...
  207. 21200:07:55 # Subtest: game over does not fire while at least one column is open
  208. 21300:07:55 ok 5 - game over does not fire while at least one column is open
  209. 21400:07:55 ---
  210. 21500:07:55 duration_ms: 0.655707
  211. 21600:07:55 ...
  212. 21700:07:55 1..5
  213. 21800:07:55ok 10 - Column lock and game over
  214. 21900:07:55 ---
  215. 22000:07:55 duration_ms: 18.889669
  216. 22100:07:55 type: 'suite'
  217. 22200:07:55 ...
  218. 22300:07:55# Subtest: Match detection and launch
  219. 22400:07:55 # Subtest: does not match two adjacent blocks of the same color
  220. 22500:07:55 ok 1 - does not match two adjacent blocks of the same color
  221. 22600:07:55 ---
  222. 22700:07:55 duration_ms: 2.24831
  223. 22800:07:55 ...
  224. 22900:07:55 # Subtest: does not match a diagonal of three
  225. 23000:07:55 ok 2 - does not match a diagonal of three
  226. 23100:07:55 ---
  227. 23200:07:55 duration_ms: 1.813421
  228. 23300:07:55 ...
  229. 23400:07:55 # Subtest: a horizontal row of 3 turns gray, links, and launches together
  230. 23500:07:55 ok 3 - a horizontal row of 3 turns gray, links, and launches together
  231. 23600:07:55 ---
  232. 23700:07:55 duration_ms: 0.86384
  233. 23800:07:55 ...
  234. 23900:07:55 # Subtest: a vertical column of 3 launches with 120% jump height
  235. 24000:07:55 ok 4 - a vertical column of 3 launches with 120% jump height
  236. 24100:07:55 ---
  237. 24200:07:55 duration_ms: 0.412888
  238. 24300:07:55 ...
  239. 24400:07:55 # Subtest: a horizontal row of 5 gets a 10% jump-height bonus (2 extra blocks)
  240. 24500:07:55 ok 5 - a horizontal row of 5 gets a 10% jump-height bonus (2 extra blocks)
  241. 24600:07:55 ---
  242. 24700:07:55 duration_ms: 0.512947
  243. 24800:07:55 ...
  244. 24900:07:55 # Subtest: everything sitting on top of a match flies with it, keeping its color
  245. 25000:07:55 ok 6 - everything sitting on top of a match flies with it, keeping its color
  246. 25100:07:55 ---
  247. 25200:07:55 duration_ms: 0.458355
  248. 25300:07:55 ...
  249. 25400:07:55 # Subtest: blocks below a vertical match stay on the ground
  250. 25500:07:55 ok 7 - blocks below a vertical match stay on the ground
  251. 25600:07:55 ---
  252. 25700:07:55 duration_ms: 0.338909
  253. 25800:07:55 ...
  254. 25900:07:55 # Subtest: two disjoint horizontal matches become two clusters
  255. 26000:07:55 ok 8 - two disjoint horizontal matches become two clusters
  256. 26100:07:55 ---
  257. 26200:07:55 duration_ms: 0.434369
  258. 26300:07:55 ...
  259. 26400:07:55 # Subtest: two matches in the same columns fly as one linked cluster
  260. 26500:07:55 ok 9 - two matches in the same columns fly as one linked cluster
  261. 26600:07:55 ---
  262. 26700:07:55 duration_ms: 0.520001
  263. 26800:07:55 ...
  264. 26900:07:55 # Subtest: tick itself finds and launches a match after a swap
  265. 27000:07:55 ok 10 - tick itself finds and launches a match after a swap
  266. 27100:07:55 ---
  267. 27200:07:55 duration_ms: 0.708436
  268. 27300:07:55 ...
  269. 27400:07:55 1..10
  270. 27500:07:55ok 11 - Match detection and launch
  271. 27600:07:55 ---
  272. 27700:07:55 duration_ms: 10.350052
  273. 27800:07:55 type: 'suite'
  274. 27900:07:55 ...
  275. 28000:07:55# Subtest: Launch physics
  276. 28100:07:55 # Subtest: reaches the jump height in riseTime, then eases into a constant descent
  277. 28200:07:55 ok 1 - reaches the jump height in riseTime, then eases into a constant descent
  278. 28300:07:55 ---
  279. 28400:07:55 duration_ms: 66.974527
  280. 28500:07:55 ...
  281. 28600:07:55 1..1
  282. 28700:07:55ok 12 - Launch physics
  283. 28800:07:55 ---
  284. 28900:07:55 duration_ms: 67.170346
  285. 29000:07:55 type: 'suite'
  286. 29100:07:55 ...
  287. 29200:07:55# Subtest: Outgoing shots and incoming garbage
  288. 29300:07:55 # Subtest: blocks that leave the top are recorded as outgoing shots and can be consumed
  289. 29400:07:55 ok 1 - blocks that leave the top are recorded as outgoing shots and can be consumed
  290. 29500:07:55 ---
  291. 29600:07:55 duration_ms: 67.067502
  292. 29700:07:55 ...
  293. 29800:07:55 # Subtest: ingestGarbage drops a falling grey that settles 3s then recolors
  294. 29900:07:55 ok 2 - ingestGarbage drops a falling grey that settles 3s then recolors
  295. 30000:07:55 ---
  296. 30100:07:55 duration_ms: 8.520953
  297. 30200:07:55 ...
  298. 30300:07:55 # Subtest: ingestGarbage skips locked and full columns, and returns null when none are open
  299. 30400:07:55 ok 3 - ingestGarbage skips locked and full columns, and returns null when none are open
  300. 30500:07:55 ---
  301. 30600:07:55 duration_ms: 1.354225
  302. 30700:07:55 ...
  303. 30800:07:55 # Subtest: missChance is a parameter defaulting to 0.30, independent of planet Power
  304. 30900:07:55 ok 4 - missChance is a parameter defaulting to 0.30, independent of planet Power
  305. 31000:07:55 ---
  306. 31100:07:55 duration_ms: 0.39766
  307. 31200:07:55 ...
  308. 31300:07:55 # Subtest: fieldSnapshot lists every block for opponent miniatures
  309. 31400:07:55 ok 5 - fieldSnapshot lists every block for opponent miniatures
  310. 31500:07:55 ---
  311. 31600:07:55 duration_ms: 0.379395
  312. 31700:07:55 ...
  313. 31800:07:55 1..5
  314. 31900:07:55ok 13 - Outgoing shots and incoming garbage
  315. 32000:07:55 ---
  316. 32100:07:55 duration_ms: 79.717463
  317. 32200:07:55 type: 'suite'
  318. 32300:07:55 ...
  319. 32400:07:55# Subtest: Planet field and defaults
  320. 32500:07:55 # Subtest: has a 10 by 13 field
  321. 32600:07:55 ok 1 - has a 10 by 13 field
  322. 32700:07:55 ---
  323. 32800:07:55 duration_ms: 1.241232
  324. 32900:07:55 ...
  325. 33000:07:55 # Subtest: default planet is Terra with mid-range physics
  326. 33100:07:55 ok 2 - default planet is Terra with mid-range physics
  327. 33200:07:55 ---
  328. 33300:07:55 duration_ms: 0.241836
  329. 33400:07:55 ...
  330. 33500:07:55 # Subtest: clamps gravity, air and mass to the stage-3 ranges
  331. 33600:07:55 ok 3 - clamps gravity, air and mass to the stage-3 ranges
  332. 33700:07:55 ---
  333. 33800:07:55 duration_ms: 0.297932
  334. 33900:07:55 ...
  335. 34000:07:55 # Subtest: keeps colors and shapes data-driven with a unique shape per color
  336. 34100:07:55 ok 4 - keeps colors and shapes data-driven with a unique shape per color
  337. 34200:07:55 ---
  338. 34300:07:55 duration_ms: 0.320234
  339. 34400:07:55 ...
  340. 34500:07:55 1..4
  341. 34600:07:55ok 14 - Planet field and defaults
  342. 34700:07:55 ---
  343. 34800:07:55 duration_ms: 3.935904
  344. 34900:07:55 type: 'suite'
  345. 35000:07:55 ...
  346. 35100:07:55# Subtest: Jump height rules
  347. 35200:07:55 # Subtest: a horizontal match of 3 uses the base jump height
  348. 35300:07:55 ok 1 - a horizontal match of 3 uses the base jump height
  349. 35400:07:55 ---
  350. 35500:07:55 duration_ms: 0.317038
  351. 35600:07:55 ...
  352. 35700:07:55 # Subtest: a vertical match of 3 is 120% of a horizontal row
  353. 35800:07:55 ok 2 - a vertical match of 3 is 120% of a horizontal row
  354. 35900:07:55 ---
  355. 36000:07:55 duration_ms: 1.350377
  356. 36100:07:55 ...
  357. 36200:07:55 # Subtest: each extra block beyond 3 adds 5% jump height
  358. 36300:07:55 ok 3 - each extra block beyond 3 adds 5% jump height
  359. 36400:07:55 ---
  360. 36500:07:55 duration_ms: 0.241776
  361. 36600:07:55 ...
  362. 36700:07:55 # Subtest: at min gravity one horizontal-3 jump equals the field height
  363. 36800:07:55 ok 4 - at min gravity one horizontal-3 jump equals the field height
  364. 36900:07:55 ---
  365. 37000:07:55 duration_ms: 0.291008
  366. 37100:07:55 ...
  367. 37200:07:55 # Subtest: at max gravity four horizontal-3 jumps equal the field height
  368. 37300:07:55 ok 5 - at max gravity four horizontal-3 jumps equal the field height
  369. 37400:07:55 ---
  370. 37500:07:55 duration_ms: 0.296449
  371. 37600:07:55 ...
  372. 37700:07:55 1..5
  373. 37800:07:55ok 15 - Jump height rules
  374. 37900:07:55 ---
  375. 38000:07:55 duration_ms: 3.058559
  376. 38100:07:55 type: 'suite'
  377. 38200:07:55 ...
  378. 38300:07:55# Subtest: Launch and fall physics parameters
  379. 38400:07:55 # Subtest: a jump of height H peaks in riseTime at constant deceleration
  380. 38500:07:55 ok 1 - a jump of height H peaks in riseTime at constant deceleration
  381. 38600:07:55 ---
  382. 38700:07:55 duration_ms: 0.37128
  383. 38800:07:55 ...
  384. 38900:07:55 # Subtest: apex time is independent of jump height (mass)
  385. 39000:07:55 ok 2 - apex time is independent of jump height (mass)
  386. 39100:07:55 ---
  387. 39200:07:55 duration_ms: 0.330774
  388. 39300:07:55 ...
  389. 39400:07:55 # Subtest: fall speed is field height over fallTime (air resistance)
  390. 39500:07:55 ok 3 - fall speed is field height over fallTime (air resistance)
  391. 39600:07:55 ---
  392. 39700:07:55 duration_ms: 0.263747
  393. 39800:07:55 ...
  394. 39900:07:55 1..3
  395. 40000:07:55ok 16 - Launch and fall physics parameters
  396. 40100:07:55 ---
  397. 40200:07:55 duration_ms: 1.248585
  398. 40300:07:55 type: 'suite'
  399. 40400:07:55 ...
  400. 40500:07:55# Subtest: Power and display values
  401. 40600:07:55 # Subtest: easiest planet has power 0 and 60% miss chance
  402. 40700:07:55 ok 1 - easiest planet has power 0 and 60% miss chance
  403. 40800:07:55 ---
  404. 40900:07:55 duration_ms: 0.332918
  405. 41000:07:55 ...
  406. 41100:07:55 # Subtest: hardest planet has power 1 and 5% miss chance
  407. 41200:07:55 ok 2 - hardest planet has power 1 and 5% miss chance
  408. 41300:07:55 ---
  409. 41400:07:55 duration_ms: 0.225004
  410. 41500:07:55 ...
  411. 41600:07:55 # Subtest: display values are numeric gravity, density, newtons and power %
  412. 41700:07:55 ok 3 - display values are numeric gravity, density, newtons and power %
  413. 41800:07:55 ---
  414. 41900:07:55 duration_ms: 0.280349
  415. 42000:07:55 ...
  416. 42100:07:55 1..3
  417. 42200:07:55ok 17 - Power and display values
  418. 42300:07:55 ---
  419. 42400:07:55 duration_ms: 1.170818
  420. 42500:07:55 type: 'suite'
  421. 42600:07:55 ...
  422. 42700:07:55# Subtest: Points, landing and recolor
  423. 42800:07:55 # Subtest: blocks that leave the top of the field become one point each and are gone
  424. 42900:07:55 ok 1 - blocks that leave the top of the field become one point each and are gone
  425. 43000:07:55 ---
  426. 43100:07:55 duration_ms: 72.221063
  427. 43200:07:55 ...
  428. 43300:07:55 # Subtest: a cluster that does not clear the field lands, sits for 3 seconds, then takes random colors
  429. 43400:07:55 ok 2 - a cluster that does not clear the field lands, sits for 3 seconds, then takes random colors
  430. 43500:07:55 ---
  431. 43600:07:55 duration_ms: 15.394056
  432. 43700:07:55 ...
  433. 43800:07:55 # Subtest: carried colored blocks keep their color and stay in the rigid group until greys convert
  434. 43900:07:55 ok 3 - carried colored blocks keep their color and stay in the rigid group until greys convert
  435. 44000:07:55 ---
  436. 44100:07:55 duration_ms: 3.307108
  437. 44200:07:55 ...
  438. 44300:07:55 # Subtest: spawn drops a random color into a random open column every second
  439. 44400:07:55 ok 4 - spawn drops a random color into a random open column every second
  440. 44500:07:55 ---
  441. 44600:07:55 duration_ms: 5.083509
  442. 44700:07:55 ...
  443. 44800:07:55 1..4
  444. 44900:07:55ok 18 - Points, landing and recolor
  445. 45000:07:55 ---
  446. 45100:07:55 duration_ms: 97.949011
  447. 45200:07:55 type: 'suite'
  448. 45300:07:55 ...
  449. 45400:07:55# Subtest: Push-up and chain re-launch
  450. 45500:07:55 # Subtest: a manual jump hitting a flying cluster pushes that column one tile up, other columns stay
  451. 45600:07:55 ok 1 - a manual jump hitting a flying cluster pushes that column one tile up, other columns stay
  452. 45700:07:55 ---
  453. 45800:07:55 duration_ms: 5.16894
  454. 45900:07:55 ...
  455. 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
  456. 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
  457. 46200:07:55 ---
  458. 46300:07:55 duration_ms: 61.988022
  459. 46400:07:55 ...
  460. 46500:07:55 # Subtest: if a re-launch sends every block off the top, that is fine and they become points
  461. 46600:07:55 ok 3 - if a re-launch sends every block off the top, that is fine and they become points
  462. 46700:07:55 ---
  463. 46800:07:55 duration_ms: 5.3231
  464. 46900:07:55 ...
  465. 47000:07:55 # Subtest: gray blocks can also disappear off the top and score points
  466. 47100:07:55 ok 4 - gray blocks can also disappear off the top and score points
  467. 47200:07:55 ---
  468. 47300:07:55 duration_ms: 1.241011
  469. 47400:07:55 ...
  470. 47500:07:55 1..4
  471. 47600:07:55ok 19 - Push-up and chain re-launch
  472. 47700:07:55 ---
  473. 47800:07:55 duration_ms: 75.531999
  474. 47900:07:55 type: 'suite'
  475. 48000:07:55 ...
  476. 48100:07:55# Subtest: Rng
  477. 48200:07:55 # Subtest: is deterministic for the same seed
  478. 48300:07:55 ok 1 - is deterministic for the same seed
  479. 48400:07:55 ---
  480. 48500:07:55 duration_ms: 2.04111
  481. 48600:07:55 ...
  482. 48700:07:55 # Subtest: differs across seeds and stays in [0, 1)
  483. 48800:07:55 ok 2 - differs across seeds and stays in [0, 1)
  484. 48900:07:55 ---
  485. 49000:07:55 duration_ms: 0.576728
  486. 49100:07:55 ...
  487. 49200:07:55 # Subtest: pickIndex stays inside the range
  488. 49300:07:55 ok 3 - pickIndex stays inside the range
  489. 49400:07:55 ---
  490. 49500:07:55 duration_ms: 0.529469
  491. 49600:07:55 ...
  492. 49700:07:55 1..3
  493. 49800:07:55ok 20 - Rng
  494. 49900:07:55 ---
  495. 50000:07:55 duration_ms: 5.001935
  496. 50100:07:55 type: 'suite'
  497. 50200:07:55 ...
  498. 50300:07:55# Subtest: Vertical swapping
  499. 50400:07:55 # Subtest: dragging a block through a column swaps it with the blocks it passes
  500. 50500:07:55 ok 1 - dragging a block through a column swaps it with the blocks it passes
  501. 50600:07:55 ---
  502. 50700:07:55 duration_ms: 2.758122
  503. 50800:07:55 ...
  504. 50900:07:55 # Subtest: swapTo moves a block stepwise and exchanges neighbors
  505. 51000:07:55 ok 2 - swapTo moves a block stepwise and exchanges neighbors
  506. 51100:07:55 ---
  507. 51200:07:55 duration_ms: 0.297111
  508. 51300:07:55 ...
  509. 51400:07:55 # Subtest: refuses to drag in a locked or flying column
  510. 51500:07:55 ok 3 - refuses to drag in a locked or flying column
  511. 51600:07:55 ---
  512. 51700:07:55 duration_ms: 0.767548
  513. 51800:07:55 ...
  514. 51900:07:55 # Subtest: pulling a top block further up starts a manual launch that cannot leave the field
  515. 52000:07:55 ok 4 - pulling a top block further up starts a manual launch that cannot leave the field
  516. 52100:07:55 ---
  517. 52200:07:55 duration_ms: 5.231818
  518. 52300:07:55 ...
  519. 52400:07:55 # Subtest: a manual jump from mid-stack still caps at the top cell
  520. 52500:07:55 ok 5 - a manual jump from mid-stack still caps at the top cell
  521. 52600:07:55 ---
  522. 52700:07:55 duration_ms: 3.686383
  523. 52800:07:55 ...
  524. 52900:07:55 # Subtest: a click in the lower half of a cell grabs that cell, not the one above
  525. 53000:07:55 ok 6 - a click in the lower half of a cell grabs that cell, not the one above
  526. 53100:07:55 ---
  527. 53200:07:55 duration_ms: 0.325263
  528. 53300:07:55 ...
  529. 53400:07:55 1..6
  530. 53500:07:55ok 21 - Vertical swapping
  531. 53600:07:55 ---
  532. 53700:07:55 duration_ms: 14.431871
  533. 53800:07:55 type: 'suite'
  534. 53900:07:55 ...
  535. 54000:07:55# Subtest: Manual launch of the already-topmost block
  536. 54100:07:55 # Subtest: dragging the top block upward past its own position starts a manual jump
  537. 54200:07:55 ok 1 - dragging the top block upward past its own position starts a manual jump
  538. 54300:07:55 ---
  539. 54400:07:55 duration_ms: 1.057285
  540. 54500:07:55 ...
  541. 54600:07:55 # Subtest: a short upward twitch below LAUNCH_PULL does not launch
  542. 54700:07:55 ok 2 - a short upward twitch below LAUNCH_PULL does not launch
  543. 54800:07:55 ---
  544. 54900:07:55 duration_ms: 0.253328
  545. 55000:07:55 ...
  546. 55100:07:55 # Subtest: dragging a mid-stack block up to the top still swaps instead of launching
  547. 55200:07:55 ok 3 - dragging a mid-stack block up to the top still swaps instead of launching
  548. 55300:07:55 ---
  549. 55400:07:55 duration_ms: 0.3232
  550. 55500:07:55 ...
  551. 55600:07:55 # Subtest: after a mid-stack block becomes the top, a further pull into empty space still launches
  552. 55700:07:55 ok 4 - after a mid-stack block becomes the top, a further pull into empty space still launches
  553. 55800:07:55 ---
  554. 55900:07:55 duration_ms: 0.234162
  555. 56000:07:55 ...
  556. 56100:07:55 1..4
  557. 56200:07:55ok 22 - Manual launch of the already-topmost block
  558. 56300:07:55 ---
  559. 56400:07:55 duration_ms: 2.244534
  560. 56500:07:55 type: 'suite'
  561. 56600:07:55 ...
  562. 56700:07:55# Subtest: Instant grab, snap and accumulated swaps (t1102/t1103)
  563. 56800:07:55 # Subtest: grabs instantly on beginDrag with no hold delay or elapsed time
  564. 56900:07:55 ok 1 - grabs instantly on beginDrag with no hold delay or elapsed time
  565. 57000:07:55 ---
  566. 57100:07:55 duration_ms: 0.261193
  567. 57200:07:55 ...
  568. 57300:07:55 # Subtest: snaps to the nearest still block when the press is slightly outside it
  569. 57400:07:55 ok 2 - snaps to the nearest still block when the press is slightly outside it
  570. 57500:07:55 ---
  571. 57600:07:55 duration_ms: 0.248749
  572. 57700:07:55 ...
  573. 57800:07:55 # Subtest: horizontal slop grabs a neighbouring column when the press is near the edge
  574. 57900:07:55 ok 3 - horizontal slop grabs a neighbouring column when the press is near the edge
  575. 58000:07:55 ---
  576. 58100:07:55 duration_ms: 0.221067
  577. 58200:07:55 ...
  578. 58300:07:55 # Subtest: a slightly diagonal drag stays in the starting column
  579. 58400:07:55 ok 4 - a slightly diagonal drag stays in the starting column
  580. 58500:07:55 ---
  581. 58600:07:55 duration_ms: 0.329111
  582. 58700:07:55 ...
  583. 58800:07:55 # Subtest: minimal accumulated travel swaps one step, with no delay before the drag starts
  584. 58900:07:55 ok 5 - minimal accumulated travel swaps one step, with no delay before the drag starts
  585. 59000:07:55 ---
  586. 59100:07:55 duration_ms: 0.184197
  587. 59200:07:55 ...
  588. 59300:07:55 # Subtest: a fast swipe of several tiles swaps through every block and does not skip
  589. 59400:07:55 ok 6 - a fast swipe of several tiles swaps through every block and does not skip
  590. 59500:07:55 ---
  591. 59600:07:55 duration_ms: 0.197292
  592. 59700:07:55 ...
  593. 59800:07:55 1..6
  594. 59900:07:55ok 23 - Instant grab, snap and accumulated swaps (t1102/t1103)
  595. 60000:07:55 ---
  596. 60100:07:55 duration_ms: 1.736776
  597. 60200:07:55 type: 'suite'
  598. 60300:07:55 ...
  599. 60400:07:551..23
  600. 60500:07:55# tests 87
  601. 60600:07:55# suites 23
  602. 60700:07:55# pass 87
  603. 60800:07:55# fail 0
  604. 60900:07:55# cancelled 0
  605. 61000:07:55# skipped 0
  606. 61100:07:55# todo 0
  607. 61200:07:55# duration_ms 422.529563
  608. 61300:07:55Store: lobby and game
  609. 61400:07:55 ok create lobby returns id and code
  610. 61500:07:55 ok new lobby is waiting
  611. 61600:07:55 ok code is 4 characters
  612. 61700:07:55 ok default miss chance 0.30
  613. 61800:07:55 ok creator is host
  614. 61900:07:55 ok cannot start alone
  615. 62000:07:55 ok start alone is refused: Er zijn minstens twee spelers nodig.
  616. 62100:07:55 ok second player joins by code
  617. 62200:07:55 ok two players in lobby
  618. 62300:07:55 ok cannot start until both ready
  619. 62400:07:55 ok all ready
  620. 62500:07:55 ok host can start when all ready and 2+
  621. 62600:07:55 ok non-host cannot start
  622. 62700:07:55 ok non-host start refused
  623. 62800:07:55 ok game starts
  624. 62900:07:55 ok two shot results
  625. 63000:07:55 ok result has miss and duration
  626. 63100:07:55 ok flight duration 1.2
  627. 63200:07:55 ok all missed — no incoming expected
  628. 63300:07:55 ok incoming delivered after deliver_at (0 vs 0)
  629. 63400:07:55 ok incoming is delivered only once
  630. 63500:07:55 ok game finishes when one remains
  631. 63600:07:55 ok rankings present
  632. 63700:07:55 ok survivor is 1st
  633. 63800:07:55 ok eliminated is 2nd
  634. 63900:07:55 ok still finished during podium
  635. 64000:07:55 ok back to lobby after podium seconds
  636. 64100:07:55 ok ready flags reset
  637. 64200:07:55 ok host transfers to remaining player
  638. 64300:07:55 ok leave mid-game finishes if one remains
  639. 64400:07:55 ok stayer wins
  640. 64500:07:55 ok miss_chance 1.0 → all miss
  641. 64600:07:55 ok miss_chance 0 → all hit the other player
  642. 64700:07:55 ok no living target after opponent is out
  643. 64800:07:55
  644. 64900:07:55Config helpers
  645. 65000:07:55 ok config() creates a file
  646. 65100:07:55 ok config.php written to the data dir
  647. 65200:07:55 ok secret starts empty (Tim must fill it in)
  648. 65300:07:55 ok auth is unconfigured without a secret
  649. 65400:07:55 ok empty file field falls back to env
  650. 65500:07:55
  651. 65600:07:5539 passed, 0 failed