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