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. 107:58:31Using docker image node:20-bookworm ...
  2. 207:58:31Using docker image sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 for node:20-bookworm with digest node@sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 ...
  1. 307:58:31Running on Steve via BlueGit...
  2. 407:58:31Working directory: /workspace
  3. 507:58:31Pipeline #682, job #2651
  1. 607:58:33debconf: delaying package configuration, since apt-utils is not installed
  2. 707:58:38TAP version 13
  3. 807:58:38# Subtest: Flying cluster merge (t1102)
  4. 907:58:38 # Subtest: merges two overlapping flying clusters and averages vy by block count
  5. 1007:58:38 ok 1 - merges two overlapping flying clusters and averages vy by block count
  6. 1107:58:38 ---
  7. 1207:58:38 duration_ms: 2.645439
  8. 1307:58:38 ...
  9. 1407:58:38 # Subtest: merged cluster then moves as one with the averaged velocity
  10. 1507:58:38 ok 2 - merged cluster then moves as one with the averaged velocity
  11. 1607:58:38 ---
  12. 1707:58:38 duration_ms: 0.669263
  13. 1807:58:38 ...
  14. 1907:58:38 # Subtest: merged vy <= 0 sets phase to down
  15. 2007:58:38 ok 3 - merged vy <= 0 sets phase to down
  16. 2107:58:38 ---
  17. 2207:58:38 duration_ms: 1.47398
  18. 2307:58:38 ...
  19. 2407:58:38 # Subtest: does not merge clusters that do not overlap
  20. 2507:58:38 ok 4 - does not merge clusters that do not overlap
  21. 2607:58:38 ---
  22. 2707:58:38 duration_ms: 0.28639
  23. 2807:58:38 ...
  24. 2907:58:38 # Subtest: two approaching clusters merge mid-flight during a tick
  25. 3007:58:38 ok 5 - two approaching clusters merge mid-flight during a tick
  26. 3107:58:38 ---
  27. 3207:58:38 duration_ms: 2.818556
  28. 3307:58:38 ...
  29. 3407:58:38 1..5
  30. 3507:58:38ok 1 - Flying cluster merge (t1102)
  31. 3607:58:38 ---
  32. 3707:58:38 duration_ms: 9.633991
  33. 3807:58:38 type: 'suite'
  34. 3907:58:38 ...
  35. 4007:58:38# Subtest: deploy_guard
  36. 4107:58:38 # Subtest: expands $timftproot and ${timftproot} and collapses double slashes
  37. 4207:58:38 ok 1 - expands $timftproot and ${timftproot} and collapses double slashes
  38. 4307:58:38 ---
  39. 4407:58:38 duration_ms: 189.73606
  40. 4507:58:38 ...
  41. 4607:58:38 # Subtest: refuses the FTP root, a missing secret, and a non-meteors leaf
  42. 4707:58:38 ok 2 - refuses the FTP root, a missing secret, and a non-meteors leaf
  43. 4807:58:38 ---
  44. 4907:58:38 duration_ms: 50.697632
  45. 5007:58:38 ...
  46. 5107:58:38 # Subtest: the CLI exits 0 for a good path and does not print the path
  47. 5207:58:38 ok 3 - the CLI exits 0 for a good path and does not print the path
  48. 5307:58:38 ---
  49. 5407:58:38 duration_ms: 15.609831
  50. 5507:58:38 ...
  51. 5607:58:38 1..3
  52. 5707:58:38ok 2 - deploy_guard
  53. 5807:58:38 ---
  54. 5907:58:38 duration_ms: 257.792091
  55. 6007:58:38 type: 'suite'
  56. 6107:58:38 ...
  57. 6207:58:38# Subtest: assert_safe_target
  58. 6307:58:38 # Subtest: allows a new, empty, previous, or leftover-files folder and only logs foreign names
  59. 6407:58:38 ok 1 - allows a new, empty, previous, or leftover-files folder and only logs foreign names
  60. 6507:58:38 ---
  61. 6607:58:38 duration_ms: 28.53486
  62. 6707:58:38 ...
  63. 6807:58:38 # Subtest: the FTP mirror never deletes, never uploads favicon.ico, and leaves data/ alone
  64. 6907:58:38 ok 2 - the FTP mirror never deletes, never uploads favicon.ico, and leaves data/ alone
  65. 7007:58:38 ---
  66. 7107:58:38 duration_ms: 25.845367
  67. 7207:58:38 ...
  68. 7307:58:38 1..2
  69. 7407:58:38ok 3 - assert_safe_target
  70. 7507:58:38 ---
  71. 7607:58:38 duration_ms: 54.61008
  72. 7707:58:38 type: 'suite'
  73. 7807:58:38 ...
  74. 7907:58:38# Subtest: auth_config_php
  75. 8007:58:38 # Subtest: is covered by ci/test_deploy_auth.py (PHP escaping, empty secret, no leak in lftp)
  76. 8107:58:38 ok 1 - is covered by ci/test_deploy_auth.py (PHP escaping, empty secret, no leak in lftp)
  77. 8207:58:38 ---
  78. 8307:58:38 duration_ms: 47.098493
  79. 8407:58:38 ...
  80. 8507:58:38 1..1
  81. 8607:58:38ok 4 - auth_config_php
  82. 8707:58:38 ---
  83. 8807:58:38 duration_ms: 47.364584
  84. 8907:58:38 type: 'suite'
  85. 9007:58:38 ...
  86. 9107:58:38# Subtest: Click-tween defaults (KWin Click Tween)
  87. 9207:58:38 # Subtest: matches Tim's default scale, durations and Qt easing parameters
  88. 9307:58:38 ok 1 - matches Tim's default scale, durations and Qt easing parameters
  89. 9407:58:38 ---
  90. 9507:58:38 duration_ms: 0.729135
  91. 9607:58:38 ...
  92. 9707:58:38 # Subtest: easeOutBack starts at 0, ends at 1, and overshoots past 1 mid-way
  93. 9807:58:38 ok 2 - easeOutBack starts at 0, ends at 1, and overshoots past 1 mid-way
  94. 9907:58:38 ---
  95. 10007:58:38 duration_ms: 0.284416
  96. 10107:58:38 ...
  97. 10207:58:38 # Subtest: easeOutElastic ends at 1 and oscillates around the end value
  98. 10307:58:38 ok 3 - easeOutElastic ends at 1 and oscillates around the end value
  99. 10407:58:38 ---
  100. 10507:58:38 duration_ms: 0.197041
  101. 10607:58:38 ...
  102. 10707:58:38 # Subtest: tween from 1.0 to 0.8 with easeOutBack overshoots below 0.8 then settles
  103. 10807:58:38 ok 4 - tween from 1.0 to 0.8 with easeOutBack overshoots below 0.8 then settles
  104. 10907:58:38 ---
  105. 11007:58:38 duration_ms: 0.235555
  106. 11107:58:38 ...
  107. 11207:58:38 1..4
  108. 11307:58:38ok 5 - Click-tween defaults (KWin Click Tween)
  109. 11407:58:38 ---
  110. 11507:58:38 duration_ms: 2.489575
  111. 11607:58:38 type: 'suite'
  112. 11707:58:38 ...
  113. 11807:58:38# Subtest: Planet apex-ease and bounce parameters
  114. 11907:58:38 # Subtest: derives faster ease and bounce from lower fallTime (low air resistance)
  115. 12007:58:38 ok 1 - derives faster ease and bounce from lower fallTime (low air resistance)
  116. 12107:58:38 ---
  117. 12207:58:38 duration_ms: 0.748481
  118. 12307:58:38 ...
  119. 12407:58:38 1..1
  120. 12507:58:38ok 6 - Planet apex-ease and bounce parameters
  121. 12607:58:38 ---
  122. 12707:58:38 duration_ms: 1.556405
  123. 12807:58:38 type: 'suite'
  124. 12907:58:38 ...
  125. 13007:58:38# Subtest: Falling blocks land on flying clusters
  126. 13107:58:38 # Subtest: a falling spawn lands on a flying cluster and flies along as cargo
  127. 13207:58:38 ok 1 - a falling spawn lands on a flying cluster and flies along as cargo
  128. 13307:58:38 ---
  129. 13407:58:38 duration_ms: 75.411132
  130. 13507:58:38 ...
  131. 13607:58:38 # Subtest: a falling block does not pass through a descending or rising cluster
  132. 13707:58:38 ok 2 - a falling block does not pass through a descending or rising cluster
  133. 13807:58:38 ---
  134. 13907:58:38 duration_ms: 5.344561
  135. 14007:58:38 ...
  136. 14107:58:38 # Subtest: a rising cluster that meets a falling block picks it up
  137. 14207:58:38 ok 3 - a rising cluster that meets a falling block picks it up
  138. 14307:58:38 ---
  139. 14407:58:38 duration_ms: 1.718501
  140. 14507:58:38 ...
  141. 14607:58:38 1..3
  142. 14707:58:38ok 7 - Falling blocks land on flying clusters
  143. 14807:58:38 ---
  144. 14907:58:38 duration_ms: 84.120329
  145. 15007:58:38 type: 'suite'
  146. 15107:58:38 ...
  147. 15207:58:38# Subtest: Rigid grey landing
  148. 15307:58:38 # Subtest: keeps relative positions, so part of the group can hang above a gap
  149. 15407:58:38 ok 1 - keeps relative positions, so part of the group can hang above a gap
  150. 15507:58:38 ---
  151. 15607:58:38 duration_ms: 6.412294
  152. 15707:58:38 ...
  153. 15807:58:38 # Subtest: after conversion, hanging blocks fall individually and supported ones stay
  154. 15907:58:38 ok 2 - after conversion, hanging blocks fall individually and supported ones stay
  155. 16007:58:38 ---
  156. 16107:58:38 duration_ms: 8.918601
  157. 16207:58:38 ...
  158. 16307:58:38 1..2
  159. 16407:58:38ok 8 - Rigid grey landing
  160. 16507:58:38 ---
  161. 16607:58:38 duration_ms: 15.638556
  162. 16707:58:38 type: 'suite'
  163. 16807:58:38 ...
  164. 16907:58:38# Subtest: Landing bounce planet parameter
  165. 17007:58:38 # Subtest: sets bouncing on a landed block, faster at low air resistance
  166. 17107:58:38 ok 1 - sets bouncing on a landed block, faster at low air resistance
  167. 17207:58:38 ---
  168. 17307:58:38 duration_ms: 1.255558
  169. 17407:58:38 ...
  170. 17507:58:39 # Subtest: a rigid cluster bounce only on members that actually rest on something
  171. 17607:58:39 ok 2 - a rigid cluster bounce only on members that actually rest on something
  172. 17707:58:39 ---
  173. 17807:58:39 duration_ms: 3.189055
  174. 17907:58:39 ...
  175. 18007:58:39 1..2
  176. 18107:58:39ok 9 - Landing bounce planet parameter
  177. 18207:58:39 ---
  178. 18307:58:39 duration_ms: 4.865867
  179. 18407:58:39 type: 'suite'
  180. 18507:58:39 ...
  181. 18607:58:39# Subtest: Recolor must not shoot blocks off the top (t1102)
  182. 18707:58:39 # Subtest: clears leftover upward velocity: hanging cargo falls from rest after recolor, and does not fly off
  183. 18807:58:39 ok 1 - clears leftover upward velocity: hanging cargo falls from rest after recolor, and does not fly off
  184. 18907:58:39 ---
  185. 19007:58:39 duration_ms: 68.193729
  186. 19107:58:39 ...
  187. 19207:58:39 # Subtest: a genuine match after recolor launches with normal jump physics, not leftover speed
  188. 19307:58:39 ok 2 - a genuine match after recolor launches with normal jump physics, not leftover speed
  189. 19407:58:39 ---
  190. 19507:58:39 duration_ms: 15.138142
  191. 19607:58:39 ...
  192. 19707:58:39 1..2
  193. 19807:58:39ok 10 - Recolor must not shoot blocks off the top (t1102)
  194. 19907:58:39 ---
  195. 20007:58:39 duration_ms: 83.592473
  196. 20107:58:39 type: 'suite'
  197. 20207:58:39 ...
  198. 20307:58:39# Subtest: Column lock and game over
  199. 20407:58:39 # Subtest: a column filled from floor to top becomes dark gray and locked
  200. 20507:58:39 ok 1 - a column filled from floor to top becomes dark gray and locked
  201. 20607:58:39 ---
  202. 20707:58:39 duration_ms: 2.32263
  203. 20807:58:39 ...
  204. 20907:58:39 # Subtest: a new spawn never lands in a locked column
  205. 21007:58:39 ok 2 - a new spawn never lands in a locked column
  206. 21107:58:39 ---
  207. 21207:58:39 duration_ms: 3.411545
  208. 21307:58:39 ...
  209. 21407:58:39 # Subtest: a nearly full column (12 blocks) is not locked
  210. 21507:58:39 ok 3 - a nearly full column (12 blocks) is not locked
  211. 21607:58:39 ---
  212. 21707:58:39 duration_ms: 3.264467
  213. 21807:58:39 ...
  214. 21907:58:39 # Subtest: when every column is locked the player loses
  215. 22007:58:39 ok 4 - when every column is locked the player loses
  216. 22107:58:39 ---
  217. 22207:58:39 duration_ms: 5.929303
  218. 22307:58:39 ...
  219. 22407:58:39 # Subtest: game over does not fire while at least one column is open
  220. 22507:58:39 ok 5 - game over does not fire while at least one column is open
  221. 22607:58:39 ---
  222. 22707:58:39 duration_ms: 0.400255
  223. 22807:58:39 ...
  224. 22907:58:39 1..5
  225. 23007:58:39ok 11 - Column lock and game over
  226. 23107:58:39 ---
  227. 23207:58:39 duration_ms: 17.119209
  228. 23307:58:39 type: 'suite'
  229. 23407:58:39 ...
  230. 23507:58:39# Subtest: Match detection and launch
  231. 23607:58:39 # Subtest: does not match two adjacent blocks of the same color
  232. 23707:58:39 ok 1 - does not match two adjacent blocks of the same color
  233. 23807:58:39 ---
  234. 23907:58:39 duration_ms: 2.282325
  235. 24007:58:39 ...
  236. 24107:58:39 # Subtest: does not match a diagonal of three
  237. 24207:58:39 ok 2 - does not match a diagonal of three
  238. 24307:58:39 ---
  239. 24407:58:39 duration_ms: 1.829942
  240. 24507:58:39 ...
  241. 24607:58:39 # Subtest: a horizontal row of 3 turns gray, links, and launches together
  242. 24707:58:39 ok 3 - a horizontal row of 3 turns gray, links, and launches together
  243. 24807:58:39 ---
  244. 24907:58:39 duration_ms: 0.85401
  245. 25007:58:39 ...
  246. 25107:58:39 # Subtest: a vertical column of 3 launches with 120% jump height
  247. 25207:58:39 ok 4 - a vertical column of 3 launches with 120% jump height
  248. 25307:58:39 ---
  249. 25407:58:39 duration_ms: 0.464837
  250. 25507:58:39 ...
  251. 25607:58:39 # Subtest: a horizontal row of 5 gets a 10% jump-height bonus (2 extra blocks)
  252. 25707:58:39 ok 5 - a horizontal row of 5 gets a 10% jump-height bonus (2 extra blocks)
  253. 25807:58:39 ---
  254. 25907:58:39 duration_ms: 0.607556
  255. 26007:58:39 ...
  256. 26107:58:39 # Subtest: everything sitting on top of a match flies with it, keeping its color
  257. 26207:58:39 ok 6 - everything sitting on top of a match flies with it, keeping its color
  258. 26307:58:39 ---
  259. 26407:58:39 duration_ms: 0.457983
  260. 26507:58:39 ...
  261. 26607:58:39 # Subtest: blocks below a vertical match stay on the ground
  262. 26707:58:39 ok 7 - blocks below a vertical match stay on the ground
  263. 26807:58:39 ---
  264. 26907:58:39 duration_ms: 0.335152
  265. 27007:58:39 ...
  266. 27107:58:39 # Subtest: two disjoint horizontal matches become two clusters
  267. 27207:58:39 ok 8 - two disjoint horizontal matches become two clusters
  268. 27307:58:39 ---
  269. 27407:58:39 duration_ms: 0.511444
  270. 27507:58:39 ...
  271. 27607:58:39 # Subtest: two matches in the same columns fly as one linked cluster
  272. 27707:58:39 ok 9 - two matches in the same columns fly as one linked cluster
  273. 27807:58:39 ---
  274. 27907:58:39 duration_ms: 0.527705
  275. 28007:58:39 ...
  276. 28107:58:39 # Subtest: tick itself finds and launches a match after a swap
  277. 28207:58:39 ok 10 - tick itself finds and launches a match after a swap
  278. 28307:58:39 ---
  279. 28407:58:39 duration_ms: 0.659243
  280. 28507:58:39 ...
  281. 28607:58:39 1..10
  282. 28707:58:39ok 12 - Match detection and launch
  283. 28807:58:39 ---
  284. 28907:58:39 duration_ms: 10.658383
  285. 29007:58:39 type: 'suite'
  286. 29107:58:39 ...
  287. 29207:58:39# Subtest: Launch physics
  288. 29307:58:39 # Subtest: reaches the jump height in riseTime, then eases into a constant descent
  289. 29407:58:39 ok 1 - reaches the jump height in riseTime, then eases into a constant descent
  290. 29507:58:39 ---
  291. 29607:58:39 duration_ms: 67.900677
  292. 29707:58:39 ...
  293. 29807:58:39 1..1
  294. 29907:58:39ok 13 - Launch physics
  295. 30007:58:39 ---
  296. 30107:58:39 duration_ms: 68.821724
  297. 30207:58:39 type: 'suite'
  298. 30307:58:39 ...
  299. 30407:58:39# Subtest: Outgoing shots and incoming garbage
  300. 30507:58:39 # Subtest: blocks that leave the top are recorded as outgoing shots and can be consumed
  301. 30607:58:39 ok 1 - blocks that leave the top are recorded as outgoing shots and can be consumed
  302. 30707:58:39 ---
  303. 30807:58:39 duration_ms: 10.178438
  304. 30907:58:39 ...
  305. 31007:58:39 # Subtest: ingestGarbage drops a falling grey that settles 3s then recolors
  306. 31107:58:39 ok 2 - ingestGarbage drops a falling grey that settles 3s then recolors
  307. 31207:58:39 ---
  308. 31307:58:39 duration_ms: 65.931994
  309. 31407:58:39 ...
  310. 31507:58:39 # Subtest: ingestGarbage skips locked and full columns, and returns null when none are open
  311. 31607:58:39 ok 3 - ingestGarbage skips locked and full columns, and returns null when none are open
  312. 31707:58:39 ---
  313. 31807:58:39 duration_ms: 2.32211
  314. 31907:58:39 ...
  315. 32007:58:39 # Subtest: missChance defaults to the planet Power formula and can still be overridden
  316. 32107:58:39 ok 4 - missChance defaults to the planet Power formula and can still be overridden
  317. 32207:58:39 ---
  318. 32307:58:39 duration_ms: 1.582716
  319. 32407:58:39 ...
  320. 32507:58:39 # Subtest: fieldSnapshot lists every block for opponent miniatures
  321. 32607:58:39 ok 5 - fieldSnapshot lists every block for opponent miniatures
  322. 32707:58:39 ---
  323. 32807:58:39 duration_ms: 0.337016
  324. 32907:58:39 ...
  325. 33007:58:39 1..5
  326. 33107:58:39ok 14 - Outgoing shots and incoming garbage
  327. 33207:58:39 ---
  328. 33307:58:39 duration_ms: 81.891165
  329. 33407:58:39 type: 'suite'
  330. 33507:58:39 ...
  331. 33607:58:39# Subtest: Planet field and defaults
  332. 33707:58:39 # Subtest: has a 10 by 13 field
  333. 33807:58:39 ok 1 - has a 10 by 13 field
  334. 33907:58:39 ---
  335. 34007:58:39 duration_ms: 1.136133
  336. 34107:58:39 ...
  337. 34207:58:39 # Subtest: default planet is Terra with mid-range physics
  338. 34307:58:39 ok 2 - default planet is Terra with mid-range physics
  339. 34407:58:39 ---
  340. 34507:58:39 duration_ms: 0.316307
  341. 34607:58:39 ...
  342. 34707:58:39 # Subtest: clamps gravity, air and mass to the stage-3 ranges
  343. 34807:58:39 ok 3 - clamps gravity, air and mass to the stage-3 ranges
  344. 34907:58:39 ---
  345. 35007:58:39 duration_ms: 0.345352
  346. 35107:58:39 ...
  347. 35207:58:39 # Subtest: keeps colors and shapes data-driven with a unique shape per color
  348. 35307:58:39 ok 4 - keeps colors and shapes data-driven with a unique shape per color
  349. 35407:58:39 ---
  350. 35507:58:39 duration_ms: 0.283365
  351. 35607:58:39 ...
  352. 35707:58:39 1..4
  353. 35807:58:39ok 15 - Planet field and defaults
  354. 35907:58:39 ---
  355. 36007:58:39 duration_ms: 5.01599
  356. 36107:58:39 type: 'suite'
  357. 36207:58:39 ...
  358. 36307:58:39# Subtest: Jump height rules
  359. 36407:58:39 # Subtest: a horizontal match of 3 uses the base jump height
  360. 36507:58:39 ok 1 - a horizontal match of 3 uses the base jump height
  361. 36607:58:39 ---
  362. 36707:58:39 duration_ms: 0.213112
  363. 36807:58:39 ...
  364. 36907:58:39 # Subtest: a vertical match of 3 is 120% of a horizontal row
  365. 37007:58:39 ok 2 - a vertical match of 3 is 120% of a horizontal row
  366. 37107:58:39 ---
  367. 37207:58:39 duration_ms: 0.119315
  368. 37307:58:39 ...
  369. 37407:58:39 # Subtest: each extra block beyond 3 adds 5% jump height
  370. 37507:58:39 ok 3 - each extra block beyond 3 adds 5% jump height
  371. 37607:58:39 ---
  372. 37707:58:39 duration_ms: 0.134784
  373. 37807:58:39 ...
  374. 37907:58:39 # Subtest: at min gravity one horizontal-3 jump equals the field height
  375. 38007:58:39 ok 4 - at min gravity one horizontal-3 jump equals the field height
  376. 38107:58:39 ---
  377. 38207:58:39 duration_ms: 0.176242
  378. 38307:58:39 ...
  379. 38407:58:39 # Subtest: at max gravity four horizontal-3 jumps equal the field height
  380. 38507:58:39 ok 5 - at max gravity four horizontal-3 jumps equal the field height
  381. 38607:58:39 ---
  382. 38707:58:39 duration_ms: 0.19091
  383. 38807:58:39 ...
  384. 38907:58:39 1..5
  385. 39007:58:39ok 16 - Jump height rules
  386. 39107:58:39 ---
  387. 39207:58:39 duration_ms: 1.232805
  388. 39307:58:39 type: 'suite'
  389. 39407:58:39 ...
  390. 39507:58:39# Subtest: Launch and fall physics parameters
  391. 39607:58:39 # Subtest: a jump of height H peaks in riseTime at constant deceleration
  392. 39707:58:39 ok 1 - a jump of height H peaks in riseTime at constant deceleration
  393. 39807:58:39 ---
  394. 39907:58:39 duration_ms: 0.247727
  395. 40007:58:39 ...
  396. 40107:58:39 # Subtest: apex time is independent of jump height (mass)
  397. 40207:58:39 ok 2 - apex time is independent of jump height (mass)
  398. 40307:58:39 ---
  399. 40407:58:39 duration_ms: 0.229803
  400. 40507:58:39 ...
  401. 40607:58:39 # Subtest: fall speed is field height over fallTime (air resistance)
  402. 40707:58:39 ok 3 - fall speed is field height over fallTime (air resistance)
  403. 40807:58:39 ---
  404. 40907:58:39 duration_ms: 0.171714
  405. 41007:58:39 ...
  406. 41107:58:39 1..3
  407. 41207:58:39ok 17 - Launch and fall physics parameters
  408. 41307:58:39 ---
  409. 41407:58:39 duration_ms: 0.813654
  410. 41507:58:39 type: 'suite'
  411. 41607:58:39 ...
  412. 41707:58:39# Subtest: Power and display values
  413. 41807:58:39 # Subtest: easiest planet has power 0 and 60% miss chance
  414. 41907:58:39 ok 1 - easiest planet has power 0 and 60% miss chance
  415. 42007:58:39 ---
  416. 42107:58:39 duration_ms: 0.208042
  417. 42207:58:39 ...
  418. 42307:58:39 # Subtest: hardest planet has power 1 and 5% miss chance
  419. 42407:58:39 ok 2 - hardest planet has power 1 and 5% miss chance
  420. 42507:58:39 ---
  421. 42607:58:39 duration_ms: 0.23359
  422. 42707:58:39 ...
  423. 42807:58:39 # Subtest: display values are numeric gravity, density, newtons and power %
  424. 42907:58:39 ok 3 - display values are numeric gravity, density, newtons and power %
  425. 43007:58:39 ---
  426. 43107:58:39 duration_ms: 0.336084
  427. 43207:58:39 ...
  428. 43307:58:39 # Subtest: displayed Power is 1 − missChance / 0.60, so 0% miss shows as 100% Power
  429. 43407:58:39 ok 4 - displayed Power is 1 − missChance / 0.60, so 0% miss shows as 100% Power
  430. 43507:58:39 ---
  431. 43607:58:39 duration_ms: 0.400225
  432. 43707:58:39 ...
  433. 43807:58:39 1..4
  434. 43907:58:39ok 18 - Power and display values
  435. 44007:58:39 ---
  436. 44107:58:39 duration_ms: 1.496583
  437. 44207:58:39 type: 'suite'
  438. 44307:58:39 ...
  439. 44407:58:39# Subtest: Planet catalog
  440. 44507:58:39 # Subtest: has 8–12 named worlds, each with a people name and five unique shapes
  441. 44607:58:39 ok 1 - has 8–12 named worlds, each with a people name and five unique shapes
  442. 44707:58:39 ---
  443. 44807:58:39 duration_ms: 1.487856
  444. 44907:58:39 ...
  445. 45007:58:39 # 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%)
  446. 45107:58:39 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%)
  447. 45207:58:39 ---
  448. 45307:58:39 duration_ms: 0.254981
  449. 45407:58:39 ...
  450. 45507:58:39 1..2
  451. 45607:58:39ok 19 - Planet catalog
  452. 45707:58:39 ---
  453. 45807:58:39 duration_ms: 1.880437
  454. 45907:58:39 type: 'suite'
  455. 46007:58:39 ...
  456. 46107:58:39# Subtest: Points, landing and recolor
  457. 46207:58:39 # Subtest: blocks that leave the top of the field become one point each and are gone
  458. 46307:58:39 ok 1 - blocks that leave the top of the field become one point each and are gone
  459. 46407:58:39 ---
  460. 46507:58:39 duration_ms: 65.962903
  461. 46607:58:39 ...
  462. 46707:58:39 # Subtest: a cluster that does not clear the field lands, sits for 3 seconds, then takes random colors
  463. 46807:58:39 ok 2 - a cluster that does not clear the field lands, sits for 3 seconds, then takes random colors
  464. 46907:58:39 ---
  465. 47007:58:39 duration_ms: 9.469159
  466. 47107:58:39 ...
  467. 47207:58:39 # Subtest: carried colored blocks keep their color and stay in the rigid group until greys convert
  468. 47307:58:39 ok 3 - carried colored blocks keep their color and stay in the rigid group until greys convert
  469. 47407:58:39 ---
  470. 47507:58:39 duration_ms: 8.436973
  471. 47607:58:39 ...
  472. 47707:58:39 # Subtest: spawn drops a random color into a random open column every second
  473. 47807:58:39 ok 4 - spawn drops a random color into a random open column every second
  474. 47907:58:39 ---
  475. 48007:58:39 duration_ms: 7.432488
  476. 48107:58:39 ...
  477. 48207:58:39 1..4
  478. 48307:58:39ok 20 - Points, landing and recolor
  479. 48407:58:39 ---
  480. 48507:58:39 duration_ms: 93.545817
  481. 48607:58:39 type: 'suite'
  482. 48707:58:39 ...
  483. 48807:58:39# Subtest: Push-up and chain re-launch
  484. 48907:58:39 # Subtest: a manual jump hitting a flying cluster pushes that column one tile up, other columns stay
  485. 49007:58:39 ok 1 - a manual jump hitting a flying cluster pushes that column one tile up, other columns stay
  486. 49107:58:39 ---
  487. 49207:58:39 duration_ms: 61.553005
  488. 49307:58:39 ...
  489. 49407:58:39 # Subtest: a push that completes a new row of 3 turns those gray, links them, and re-launches the whole cluster the same height
  490. 49507:58:39 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
  491. 49607:58:39 ---
  492. 49707:58:39 duration_ms: 3.332185
  493. 49807:58:39 ...
  494. 49907:58:39 # Subtest: if a re-launch sends every block off the top, that is fine and they become points
  495. 50007:58:39 ok 3 - if a re-launch sends every block off the top, that is fine and they become points
  496. 50107:58:39 ---
  497. 50207:58:39 duration_ms: 4.907145
  498. 50307:58:39 ...
  499. 50407:58:39 # Subtest: gray blocks can also disappear off the top and score points
  500. 50507:58:39 ok 4 - gray blocks can also disappear off the top and score points
  501. 50607:58:39 ---
  502. 50707:58:39 duration_ms: 1.400572
  503. 50807:58:39 ...
  504. 50907:58:39 1..4
  505. 51007:58:39ok 21 - Push-up and chain re-launch
  506. 51107:58:39 ---
  507. 51207:58:39 duration_ms: 72.821598
  508. 51307:58:39 type: 'suite'
  509. 51407:58:39 ...
  510. 51507:58:39# Subtest: Rng
  511. 51607:58:39 # Subtest: is deterministic for the same seed
  512. 51707:58:39 ok 1 - is deterministic for the same seed
  513. 51807:58:39 ---
  514. 51907:58:39 duration_ms: 1.440096
  515. 52007:58:39 ...
  516. 52107:58:39 # Subtest: differs across seeds and stays in [0, 1)
  517. 52207:58:39 ok 2 - differs across seeds and stays in [0, 1)
  518. 52307:58:39 ---
  519. 52407:58:39 duration_ms: 0.561409
  520. 52507:58:39 ...
  521. 52607:58:39 # Subtest: pickIndex stays inside the range
  522. 52707:58:39 ok 3 - pickIndex stays inside the range
  523. 52807:58:39 ---
  524. 52907:58:39 duration_ms: 54.634096
  525. 53007:58:39 ...
  526. 53107:58:39 1..3
  527. 53207:58:39ok 22 - Rng
  528. 53307:58:39 ---
  529. 53407:58:39 duration_ms: 58.314257
  530. 53507:58:39 type: 'suite'
  531. 53607:58:39 ...
  532. 53707:58:39# Subtest: Spontaneous matches always become rockets (t1104)
  533. 53807:58:39 # Subtest: a row that forms on the ground after a block falls launches like a player match
  534. 53907:58:39 ok 1 - a row that forms on the ground after a block falls launches like a player match
  535. 54007:58:39 ---
  536. 54107:58:39 duration_ms: 8.574653
  537. 54207:58:39 ...
  538. 54307:58:39 # Subtest: a row that appears after grey settle and recolor launches
  539. 54407:58:39 ok 2 - a row that appears after grey settle and recolor launches
  540. 54507:58:39 ---
  541. 54607:58:39 duration_ms: 7.011395
  542. 54707:58:39 ...
  543. 54807:58:39 # Subtest: a match after cargo attaches to a flying cluster greys the new line and re-launches the whole cluster
  544. 54907:58:39 ok 3 - a match after cargo attaches to a flying cluster greys the new line and re-launches the whole cluster
  545. 55007:58:39 ---
  546. 55107:58:39 duration_ms: 2.322771
  547. 55207:58:39 ...
  548. 55307:58:39 # Subtest: a match that appears when two flying clusters merge greys the line and re-launches
  549. 55407:58:39 ok 4 - a match that appears when two flying clusters merge greys the line and re-launches
  550. 55507:58:39 ---
  551. 55607:58:39 duration_ms: 0.554616
  552. 55707:58:39 ...
  553. 55807:58:39 1..4
  554. 55907:58:39ok 23 - Spontaneous matches always become rockets (t1104)
  555. 56007:58:39 ---
  556. 56107:58:39 duration_ms: 20.395368
  557. 56207:58:39 type: 'suite'
  558. 56307:58:39 ...
  559. 56407:58:39# Subtest: Vertical swapping
  560. 56507:58:39 # Subtest: dragging a block through a column swaps it with the blocks it passes
  561. 56607:58:39 ok 1 - dragging a block through a column swaps it with the blocks it passes
  562. 56707:58:39 ---
  563. 56807:58:39 duration_ms: 2.664435
  564. 56907:58:39 ...
  565. 57007:58:39 # Subtest: swapTo moves a block stepwise and exchanges neighbors
  566. 57107:58:39 ok 2 - swapTo moves a block stepwise and exchanges neighbors
  567. 57207:58:39 ---
  568. 57307:58:39 duration_ms: 0.23823
  569. 57407:58:39 ...
  570. 57507:58:39 # Subtest: refuses to drag in a locked or flying column
  571. 57607:58:39 ok 3 - refuses to drag in a locked or flying column
  572. 57707:58:39 ---
  573. 57807:58:39 duration_ms: 0.984898
  574. 57907:58:39 ...
  575. 58007:58:39 # Subtest: pulling a top block further up starts a manual launch that cannot leave the field
  576. 58107:58:39 ok 4 - pulling a top block further up starts a manual launch that cannot leave the field
  577. 58207:58:39 ---
  578. 58307:58:39 duration_ms: 7.789633
  579. 58407:58:39 ...
  580. 58507:58:39 # Subtest: a manual jump from mid-stack still caps at the top cell
  581. 58607:58:39 ok 5 - a manual jump from mid-stack still caps at the top cell
  582. 58707:58:39 ---
  583. 58807:58:39 duration_ms: 4.632037
  584. 58907:58:39 ...
  585. 59007:58:39 # Subtest: a click in the lower half of a cell grabs that cell, not the one above
  586. 59107:58:39 ok 6 - a click in the lower half of a cell grabs that cell, not the one above
  587. 59207:58:39 ---
  588. 59307:58:39 duration_ms: 0.375778
  589. 59407:58:39 ...
  590. 59507:58:39 1..6
  591. 59607:58:39ok 24 - Vertical swapping
  592. 59707:58:39 ---
  593. 59807:58:39 duration_ms: 18.014107
  594. 59907:58:39 type: 'suite'
  595. 60007:58:39 ...
  596. 60107:58:39# Subtest: Manual launch of the already-topmost block
  597. 60207:58:39 # Subtest: dragging the top block upward past its own position starts a manual jump
  598. 60307:58:39 ok 1 - dragging the top block upward past its own position starts a manual jump
  599. 60407:58:39 ---
  600. 60507:58:39 duration_ms: 1.270086
  601. 60607:58:39 ...
  602. 60707:58:39 # Subtest: a short upward twitch below LAUNCH_PULL does not launch
  603. 60807:58:39 ok 2 - a short upward twitch below LAUNCH_PULL does not launch
  604. 60907:58:39 ---
  605. 61007:58:39 duration_ms: 0.300988
  606. 61107:58:39 ...
  607. 61207:58:39 # Subtest: dragging a mid-stack block up to the top still swaps instead of launching
  608. 61307:58:39 ok 3 - dragging a mid-stack block up to the top still swaps instead of launching
  609. 61407:58:39 ---
  610. 61507:58:39 duration_ms: 0.35498
  611. 61607:58:39 ...
  612. 61707:58:39 # Subtest: after a mid-stack block becomes the top, a further pull into empty space still launches
  613. 61807:58:39 ok 4 - after a mid-stack block becomes the top, a further pull into empty space still launches
  614. 61907:58:39 ---
  615. 62007:58:39 duration_ms: 0.307621
  616. 62107:58:39 ...
  617. 62207:58:39 1..4
  618. 62307:58:39ok 25 - Manual launch of the already-topmost block
  619. 62407:58:39 ---
  620. 62507:58:39 duration_ms: 2.6566
  621. 62607:58:39 type: 'suite'
  622. 62707:58:39 ...
  623. 62807:58:39# Subtest: Instant grab, snap and 1:1 pointer tracking (t1102/t1103/t1104)
  624. 62907:58:39 # Subtest: grabs instantly on beginDrag with no hold delay or elapsed time
  625. 63007:58:39 ok 1 - grabs instantly on beginDrag with no hold delay or elapsed time
  626. 63107:58:39 ---
  627. 63207:58:39 duration_ms: 0.362774
  628. 63307:58:39 ...
  629. 63407:58:39 # Subtest: snaps to the nearest still block when the press is slightly outside it
  630. 63507:58:39 ok 2 - snaps to the nearest still block when the press is slightly outside it
  631. 63607:58:39 ---
  632. 63707:58:39 duration_ms: 0.298042
  633. 63807:58:39 ...
  634. 63907:58:39 # Subtest: horizontal slop grabs a neighbouring column when the press is near the edge
  635. 64007:58:39 ok 3 - horizontal slop grabs a neighbouring column when the press is near the edge
  636. 64107:58:39 ---
  637. 64207:58:39 duration_ms: 0.280078
  638. 64307:58:39 ...
  639. 64407:58:39 # Subtest: a slightly diagonal drag stays in the starting column
  640. 64507:58:39 ok 4 - a slightly diagonal drag stays in the starting column
  641. 64607:58:39 ---
  642. 64707:58:39 duration_ms: 0.465778
  643. 64807:58:39 ...
  644. 64907:58:39 # Subtest: a short move that stays inside the same cell does not swap
  645. 65007:58:39 ok 5 - a short move that stays inside the same cell does not swap
  646. 65107:58:39 ---
  647. 65207:58:39 duration_ms: 0.204386
  648. 65307:58:39 ...
  649. 65407:58:39 # Subtest: a 1-tile downward drag swaps exactly one step and stops when the pointer stops
  650. 65507:58:39 ok 6 - a 1-tile downward drag swaps exactly one step and stops when the pointer stops
  651. 65607:58:39 ---
  652. 65707:58:39 duration_ms: 0.199236
  653. 65807:58:39 ...
  654. 65907:58:39 # Subtest: a 1-tile upward drag swaps exactly one step and stops when the pointer stops
  655. 66007:58:39 ok 7 - a 1-tile upward drag swaps exactly one step and stops when the pointer stops
  656. 66107:58:39 ---
  657. 66207:58:39 duration_ms: 0.240113
  658. 66307:58:39 ...
  659. 66407:58:39 # Subtest: a 2-tile drag then stop leaves the block on the row under the pointer
  660. 66507:58:39 ok 8 - a 2-tile drag then stop leaves the block on the row under the pointer
  661. 66607:58:39 ---
  662. 66707:58:39 duration_ms: 0.290939
  663. 66807:58:39 ...
  664. 66907:58:39 # Subtest: a fast swipe of several tiles swaps through every block and does not skip
  665. 67007:58:39 ok 9 - a fast swipe of several tiles swaps through every block and does not skip
  666. 67107:58:39 ---
  667. 67207:58:39 duration_ms: 0.192132
  668. 67307:58:39 ...
  669. 67407:58:39 1..9
  670. 67507:58:39ok 26 - Instant grab, snap and 1:1 pointer tracking (t1102/t1103/t1104)
  671. 67607:58:39 ---
  672. 67707:58:39 duration_ms: 2.993275
  673. 67807:58:39 type: 'suite'
  674. 67907:58:39 ...
  675. 68007:58:391..26
  676. 68107:58:39# tests 98
  677. 68207:58:39# suites 26
  678. 68307:58:39# pass 98
  679. 68407:58:39# fail 0
  680. 68507:58:39# cancelled 0
  681. 68607:58:39# skipped 0
  682. 68707:58:39# todo 0
  683. 68807:58:39# duration_ms 475.268293
  684. 68907:58:39auth-config ok
  685. 69007:58:39Store: lobby and game
  686. 69107:58:39 ok create lobby returns id and code
  687. 69207:58:39 ok new lobby is waiting
  688. 69307:58:39 ok code is 4 characters
  689. 69407:58:39 ok default miss chance 0.30
  690. 69507:58:39 ok creator is host
  691. 69607:58:39 ok cannot start alone
  692. 69707:58:39 ok start alone is refused: Er zijn minstens twee spelers nodig.
  693. 69807:58:39 ok second player joins by code
  694. 69907:58:39 ok two players in lobby
  695. 70007:58:39 ok cannot start until both ready
  696. 70107:58:39 ok all ready
  697. 70207:58:39 ok host can start when all ready and 2+
  698. 70307:58:39 ok non-host cannot start
  699. 70407:58:39 ok non-host start refused
  700. 70507:58:39 ok game starts
  701. 70607:58:39 ok two shot results
  702. 70707:58:39 ok result has miss and duration
  703. 70807:58:39 ok flight duration 1.2
  704. 70907:58:39 ok incoming not delivered before flight duration
  705. 71007:58:39 ok incoming delivered after deliver_at (2 vs 2)
  706. 71107:58:39 ok incoming is delivered only once
  707. 71207:58:39 ok game finishes when one remains
  708. 71307:58:39 ok rankings present
  709. 71407:58:39 ok survivor is 1st
  710. 71507:58:39 ok eliminated is 2nd
  711. 71607:58:39 ok still finished during podium
  712. 71707:58:39 ok back to lobby after podium seconds
  713. 71807:58:39 ok ready flags reset
  714. 71907:58:39 ok host transfers to remaining player
  715. 72007:58:39 ok leave mid-game finishes if one remains
  716. 72107:58:39 ok stayer wins
  717. 72207:58:39 ok forced miss 1.0 → all miss
  718. 72307:58:39 ok forced miss 0 → all hit the other player
  719. 72407:58:39 ok no living target after opponent is out
  720. 72507:58:39
  721. 72607:58:39Planets and per-sender Power miss
  722. 72707:58:39 ok catalog has 8–12 planets
  723. 72807:58:39 ok terra, cinder, aurel exist
  724. 72907:58:39 ok Aurel power 0
  725. 73007:58:39 ok Aurel miss 60%
  726. 73107:58:39 ok Cinder power 1
  727. 73207:58:39 ok Cinder miss 5%
  728. 73307:58:39 ok Terra display g/d/F/Power
  729. 73407:58:39 ok Aurel displayed Power 0
  730. 73507:58:39 ok Cinder displayed Power 92 (5% miss)
  731. 73607:58:39 ok Cinder displayValues Power 92
  732. 73707:58:39 ok host planet aurel
  733. 73807:58:39 ok guest planet cinder
  734. 73907:58:39 ok host miss from Aurel Power
  735. 74007:58:39 ok guest miss from Cinder Power
  736. 74107:58:39 ok setPlanet updates host to Wisp
  737. 74207:58:39 ok unknown planet rejected
  738. 74307:58:39 ok in-game miss uses the sender planet
  739. 74407:58:39 ok guest still uses Cinder Power
  740. 74507:58:39 ok planet locked once the match starts
  741. 74607:58:39
  742. 74707:58:39Config helpers
  743. 74807:58:39 ok config() creates a file
  744. 74907:58:39 ok config.php written to the data dir
  745. 75007:58:39 ok secret starts empty (Tim must fill it in)
  746. 75107:58:39 ok auth is unconfigured without a secret
  747. 75207:58:39 ok empty file field falls back to env
  748. 75307:58:39
  749. 75407:58:3958 passed, 0 failed