test(m4): finish audit, measurement and archive (#76)
- client/e2e/audit.test.mjs: independent player-browser traffic audit (own frame catalogue and banned-key list, never leakcheck.nim), with a -d:leakfault/otherVision negative control. - client/e2e/fogbench.test.mjs + tools/fogbench.nim: 50 tokens on a 16384 px map (server move path and headless SwiftShader cadence); results/m4-fog-bench.md records both honestly (SW is not the phone gate). - Archive prototype-* under docs/archive/prototypes (Q24); DESIGN 13 M4 done, TESTING 13 M4 accept result, HANDOFF-M4 close-out. - mutation.sh c1/c2 patch the post-#65 tile-gate line again (they had silently become sed no-ops).
This commit is contained in:
+72
-56
@@ -1,6 +1,6 @@
|
||||
Info: Using the environment variable: NIMBLE_DIR='/home/davide/Projects/GDR/FFF_vtt-m64/.devbox/nimble'
|
||||
Info: Using the environment variable: NIMBLE_DIR='/home/davide/Projects/GDR/FFF_vtt-m76/.devbox/nimble'
|
||||
Info: using /nix/store/0cbdz34lsakfirycixckf6ypsd8hazhg-x86_64-unknown-linux-gnu-nim-wrapper-2.2.12/bin/nim for compilation
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tauth (from package fff_vtt) using c backend
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tauth (from package fff_vtt) using c backend
|
||||
Nim Output [Suite] GM key (fff-vtt gm-key)
|
||||
... [OK] first run creates the single GM and prints a key; re-run prints the same key
|
||||
... [OK] --new rotates: new key, old key invalid, GM sessions revoked, same player
|
||||
@@ -15,7 +15,7 @@
|
||||
... [OK] only the hash is stored; the token itself appears nowhere
|
||||
... [OK] unknown hash gives no player; revoking one player leaves the other alone
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tcharacters (from package fff_vtt) using c backend
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tcharacters (from package fff_vtt) using c backend
|
||||
Nim Output [Suite] the name rule (DESIGN 8: one copy, used by every frame)
|
||||
... [OK] an owner, a reveal_all and a per-player reveal each expose the actual name
|
||||
... [OK] visibleName picks the name the recipient knows
|
||||
@@ -48,7 +48,7 @@
|
||||
... [OK] player.remove hands the player's characters to the GM (DESIGN 3.2)
|
||||
... [OK] a character still figured by a token is in use (6.5)
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tconfig (from package fff_vtt) using c backend
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tconfig (from package fff_vtt) using c backend
|
||||
Nim Output [Suite] config defaults
|
||||
... [OK] defaults: dev origin, port 9000, state dir run
|
||||
... [OK] state dir is joined, not concatenated
|
||||
@@ -75,7 +75,7 @@
|
||||
... [OK] --help is not an error and asks for usage, even with a broken env
|
||||
... [OK] usage lists the three keys and says the bind is fixed
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tconns (from package fff_vtt) using c backend
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tconns (from package fff_vtt) using c backend
|
||||
Nim Output [Suite] total cap
|
||||
... [OK] 16 reservations succeed, the 17th is refused
|
||||
... [OK] a cancelled reservation gives the slot back
|
||||
@@ -96,7 +96,7 @@
|
||||
... [OK] a Pong is recorded on the right connection
|
||||
... [OK] a snapshot hands out every live connection without holding the lock afterwards
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tcrypto (from package fff_vtt) using c backend
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tcrypto (from package fff_vtt) using c backend
|
||||
Nim Output [Suite] sha256
|
||||
... [OK] FIPS 180-4 known answers
|
||||
... [OK] padding boundaries: 55, 56 and 64 byte messages differ and are stable
|
||||
@@ -110,23 +110,23 @@
|
||||
... [Suite] constant-time compare
|
||||
... [OK] equal only for identical strings, including the empty case
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tdb (from package fff_vtt) using c backend
|
||||
Nim Output /home/davide/Projects/GDR/FFF_vtt-m64/tests/tdb.nim(396, 1) template/generic instantiation of `suite` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/tests/tdb.nim(403, 3) template/generic instantiation of `test` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/tests/tdb.nim(412, 9) template/generic instantiation of `withTransaction` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/server/db.nim(298, 12) Warning: unreachable code after 'return' statement or '{.noReturn.}' proc [UnreachableCode]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/tests/tdb.nim(396, 1) template/generic instantiation of `suite` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/tests/tdb.nim(403, 3) template/generic instantiation of `test` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/tests/tdb.nim(412, 9) template/generic instantiation of `withTransaction` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/server/db.nim(299, 10) Warning: unreachable code after 'return' statement or '{.noReturn.}' proc [UnreachableCode]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/tests/tdb.nim(396, 1) template/generic instantiation of `suite` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/tests/tdb.nim(425, 3) template/generic instantiation of `test` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/tests/tdb.nim(434, 9) template/generic instantiation of `authoringTransaction` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/server/world.nim(440, 14) Warning: unreachable code after 'return' statement or '{.noReturn.}' proc [UnreachableCode]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/tests/tdb.nim(396, 1) template/generic instantiation of `suite` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/tests/tdb.nim(425, 3) template/generic instantiation of `test` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/tests/tdb.nim(434, 9) template/generic instantiation of `authoringTransaction` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/server/world.nim(441, 12) Warning: unreachable code after 'return' statement or '{.noReturn.}' proc [UnreachableCode]
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tdb (from package fff_vtt) using c backend
|
||||
Nim Output /home/davide/Projects/GDR/FFF_vtt-m76/tests/tdb.nim(396, 1) template/generic instantiation of `suite` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/tests/tdb.nim(403, 3) template/generic instantiation of `test` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/tests/tdb.nim(412, 9) template/generic instantiation of `withTransaction` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/server/db.nim(298, 12) Warning: unreachable code after 'return' statement or '{.noReturn.}' proc [UnreachableCode]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/tests/tdb.nim(396, 1) template/generic instantiation of `suite` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/tests/tdb.nim(403, 3) template/generic instantiation of `test` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/tests/tdb.nim(412, 9) template/generic instantiation of `withTransaction` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/server/db.nim(299, 10) Warning: unreachable code after 'return' statement or '{.noReturn.}' proc [UnreachableCode]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/tests/tdb.nim(396, 1) template/generic instantiation of `suite` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/tests/tdb.nim(425, 3) template/generic instantiation of `test` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/tests/tdb.nim(434, 9) template/generic instantiation of `authoringTransaction` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/server/world.nim(440, 14) Warning: unreachable code after 'return' statement or '{.noReturn.}' proc [UnreachableCode]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/tests/tdb.nim(396, 1) template/generic instantiation of `suite` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/tests/tdb.nim(425, 3) template/generic instantiation of `test` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/tests/tdb.nim(434, 9) template/generic instantiation of `authoringTransaction` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/server/world.nim(441, 12) Warning: unreachable code after 'return' statement or '{.noReturn.}' proc [UnreachableCode]
|
||||
... [Suite] open
|
||||
... [OK] creates the file, sets WAL, synchronous NORMAL, busy_timeout, foreign_keys
|
||||
... [Suite] migrate
|
||||
@@ -145,7 +145,7 @@
|
||||
... [OK] withTransaction rolls back a Defect and leaves the connection usable
|
||||
... [OK] authoringTransaction rolls back a Defect and restores NORMAL
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tdetach (from package fff_vtt) using c backend
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tdetach (from package fff_vtt) using c backend
|
||||
Nim Output [Suite] detachedJson
|
||||
... [OK] rebuilds nodes and string payloads
|
||||
... [OK] mutating the source leaves the copy alone
|
||||
@@ -158,11 +158,11 @@
|
||||
... [Suite] the premise this guards (world.parseFlags)
|
||||
... [OK] parseFlags returns the caller's node by reference, not a copy
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/testutil (from package fff_vtt) using c backend
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/testutil (from package fff_vtt) using c backend
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/texplored (from package fff_vtt) using c backend
|
||||
Nim Output /home/davide/Projects/GDR/FFF_vtt-m64/server/worldmap.nim(18, 44) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/server/vision.nim(31, 43) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/texplored (from package fff_vtt) using c backend
|
||||
Nim Output /home/davide/Projects/GDR/FFF_vtt-m76/server/worldmap.nim(18, 44) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/server/vision.nim(31, 43) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... [Suite] chunk format
|
||||
... [OK] the chunk bitmap layout is pinned
|
||||
... [OK] one chunk covers 64x64 cells
|
||||
@@ -177,10 +177,10 @@
|
||||
... [OK] restore: two players' explored never mix
|
||||
... [OK] restore: an empty store restores nothing and a removed player takes its chunks
|
||||
... [Suite] cost
|
||||
... chunk write: avg 0.012 ms, p99 0.030 ms over 200 commits
|
||||
... chunk write: avg 0.011 ms, p99 0.022 ms over 200 commits
|
||||
... [OK] a mutation-scale chunk write stays inside the 4.3 commit budget
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tgeometry (from package fff_vtt) using c backend
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tgeometry (from package fff_vtt) using c backend
|
||||
Nim Output [Suite] visibility
|
||||
... [OK] open space is a circle
|
||||
... [OK] wall blocks
|
||||
@@ -234,12 +234,12 @@
|
||||
... [OK] random wall fields, cell 32 and 25
|
||||
... [OK] negative control: the oracle notices a missing and an invented cell
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tinstancelock (from package fff_vtt) using c backend
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tinstancelock (from package fff_vtt) using c backend
|
||||
Nim Output [Suite] instance lock
|
||||
... [OK] acquires, creates the lock file, releases and re-acquires
|
||||
... [OK] release is idempotent
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tlogging (from package fff_vtt) using c backend
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tlogging (from package fff_vtt) using c backend
|
||||
Nim Output [Suite] redaction by value
|
||||
... [OK] a secret passed as a field value never appears in the output
|
||||
... [OK] a secret inside free text, the event name or a nested value is scrubbed too
|
||||
@@ -256,10 +256,10 @@
|
||||
... [OK] messages below the level are dropped
|
||||
... [OK] no fields is still one valid line
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tmarkers (from package fff_vtt) using c backend
|
||||
Nim Output /home/davide/Projects/GDR/FFF_vtt-m64/server/worldmap.nim(18, 44) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/server/vision.nim(31, 43) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/server/markers.nim(29, 8) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tmarkers (from package fff_vtt) using c backend
|
||||
Nim Output /home/davide/Projects/GDR/FFF_vtt-m76/server/worldmap.nim(18, 44) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/server/vision.nim(31, 43) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/server/markers.nim(29, 8) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... [Suite] player markers (5.8, #59/#60)
|
||||
... [OK] a marked window seen by any part of its extent mints one anchor marker
|
||||
... [OK] an untouched marker survives a refresh: it is memory, not current sight
|
||||
@@ -267,7 +267,7 @@
|
||||
... [OK] a placement change retracts too; height and label never do
|
||||
... [OK] a solid wall with the switch on mints nothing; clearing the switch retracts
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tmoverules (from package fff_vtt) using c backend
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tmoverules (from package fff_vtt) using c backend
|
||||
Nim Output [Suite] pathClear, r = 0 (ported prototype move tests)
|
||||
... [OK] crossing blocked, parallel ok
|
||||
... [OK] grazing an endpoint is blocked
|
||||
@@ -344,7 +344,7 @@
|
||||
... [OK] a wall added over a GM-locked token only adds the walls entry
|
||||
... [OK] the GM clear of the walls entries leaves a GM-sourced entry alone (no rule runs)
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tprobing (from package fff_vtt) using c backend
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tprobing (from package fff_vtt) using c backend
|
||||
Nim Output [Suite] probing (T8)
|
||||
... [OK] P1: probes longer than the cap get one fixed nack regardless of the scene
|
||||
... [OK] P2: scenes differing only beyond the bound give identical replies over 3000 probes
|
||||
@@ -352,7 +352,7 @@
|
||||
... [OK] P4: probing cannot unlock or move a locked token
|
||||
... [OK] doors beyond the bound: opening or closing them changes no reply
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tprops (from package fff_vtt) using c backend
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tprops (from package fff_vtt) using c backend
|
||||
Nim Output [Suite] caps (6.1, numbers FIXED owner-delegated by #22)
|
||||
... [OK] 64 keys per bucket, the 65th is refused and nothing changes
|
||||
... [OK] an existing key can still be overwritten at the cap
|
||||
@@ -377,7 +377,7 @@
|
||||
... [OK] clone gives fresh buckets: editing the copy cannot reach the original
|
||||
... [OK] normalize repairs nil buckets
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tprotocol (from package fff_vtt) using c backend
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tprotocol (from package fff_vtt) using c backend
|
||||
Nim Output [Suite] envelope (6.5 step 2)
|
||||
... [OK] a well-formed intent parses and keeps its reqId and node
|
||||
... [OK] reqId boundaries: 0 and 2^31-1 pass, 2^31 and -1 are malformed
|
||||
@@ -409,15 +409,30 @@
|
||||
... [OK] `walls` is the full list plus the scene, `wall` is one upsert, `wall_gone` an id
|
||||
... [OK] the fan-out frames carry no n: the sender stamps it per recipient
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tscenegen (from package fff_vtt) using c backend
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tscenegen (from package fff_vtt) using c backend
|
||||
Nim Output [Suite] scenegen (bench scenes)
|
||||
... [OK] exactly n walls, deterministic per seed, seeds differ
|
||||
... [OK] doors are every 10th wall, all closed; walls stay inside the world (+- jitter)
|
||||
... [OK] walls are non-degenerate and axis-ish segments of room-edge length
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/ttiles (from package fff_vtt) using c backend
|
||||
Nim Output /home/davide/Projects/GDR/FFF_vtt-m64/server/worldmap.nim(18, 44) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/server/vision.nim(31, 43) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tsessions (from package fff_vtt) using c backend
|
||||
Nim Output /home/davide/Projects/GDR/FFF_vtt-m76/server/worldmap.nim(18, 44) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/server/vision.nim(31, 43) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... [Suite] gate cache: sessions
|
||||
... [OK] a revocation drops every cached session of that player and no other
|
||||
... [OK] player removal drops the sessions and the explored bitmap
|
||||
... [OK] sessions survive a restart through the database, replaced ones do not
|
||||
... [Suite] gate cache: explored bitmap
|
||||
... [OK] the bitmap holds the same cells as the set, with the cell-index layout
|
||||
... [OK] a refresh marks only its fresh cells, and the snapshot only grows
|
||||
... [Suite] gate cache: the tile rule
|
||||
... [OK] the GM is always allowed; a player only through an explored bit
|
||||
... [OK] the URL is decided before any session is looked at
|
||||
... [OK] a scene republish changes the parse result, never a mixture
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/ttiles (from package fff_vtt) using c backend
|
||||
Nim Output /home/davide/Projects/GDR/FFF_vtt-m76/server/worldmap.nim(18, 44) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/server/vision.nim(31, 43) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... [Suite] tile URL grammar
|
||||
... [OK] canonical numbers: digits only, bounded, no leading zero
|
||||
... [OK] a canonical URL parses to its three integers
|
||||
@@ -434,7 +449,7 @@
|
||||
... [Suite] one scene record per request (#31)
|
||||
... [OK] a request built from one record stays internally consistent when the scene is swapped
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/ttokens (from package fff_vtt) using c backend
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/ttokens (from package fff_vtt) using c backend
|
||||
Nim Output [Suite] ids (DESIGN 8, FIXED #3: random, opaque, 12 chars)
|
||||
... [OK] 12 characters from the documented alphabet
|
||||
... [OK] freshId never returns an id that is taken
|
||||
@@ -467,12 +482,13 @@
|
||||
... [OK] removing a token removes its status rows (FK cascade)
|
||||
... [OK] status helpers keep the entry set unique and ordered
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tviews (from package fff_vtt) using c backend
|
||||
Nim Output /home/davide/Projects/GDR/FFF_vtt-m64/server/worldmap.nim(18, 44) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/server/vision.nim(31, 43) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tviews (from package fff_vtt) using c backend
|
||||
Nim Output /home/davide/Projects/GDR/FFF_vtt-m76/server/worldmap.nim(18, 44) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/server/vision.nim(31, 43) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... [Suite] GM view (3.1: everything, with the GM-only extras)
|
||||
... [OK] every token, in token order, with controller and both names
|
||||
... [OK] a GM-controlled token shows controller null
|
||||
... [OK] seen_by lists the players whose existing sight sees each token, ascending
|
||||
... [OK] the GM never gets vision polygons or explored cells
|
||||
... [Suite] player view (3.1: controlled always, LOS + not gm_only otherwise)
|
||||
... [OK] the set of tokens follows the visibility rule
|
||||
@@ -512,15 +528,15 @@
|
||||
... [OK] a player never receives another player's list
|
||||
... [Suite] egress borrows the world instead of copying it (#28)
|
||||
... [OK] a Context is six addresses: in-place changes are visible through the borrow
|
||||
... #28 context build, 262144 cells x 6 players: 0.007 us (min of 5 x 100)
|
||||
... #28 egress, 262144 cells x 6 players x 40 entries: GM 0.543 ms, player 0.226 ms (min of 20)
|
||||
... #28 egress, 16384 cells x 6 players x 40 entries: GM 0.556 ms (min of 20)
|
||||
... #28 context build, 262144 cells x 6 players: 0.014 us (min of 5 x 100)
|
||||
... #28 egress, 262144 cells x 6 players x 40 entries: GM 1.173 ms, player 0.279 ms (min of 20)
|
||||
... #28 egress, 16384 cells x 6 players x 40 entries: GM 0.809 ms (min of 20)
|
||||
... [OK] building a Context and egressing does not scale with the explored sets
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tvision (from package fff_vtt) using c backend
|
||||
Nim Output /home/davide/Projects/GDR/FFF_vtt-m64/server/worldmap.nim(18, 44) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/server/vision.nim(31, 43) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/tests/tvision.nim(4, 13) Warning: imported and not used: 'algorithm' [UnusedImport]
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tvision (from package fff_vtt) using c backend
|
||||
Nim Output /home/davide/Projects/GDR/FFF_vtt-m76/server/worldmap.nim(18, 44) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/server/vision.nim(31, 43) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/tests/tvision.nim(4, 13) Warning: imported and not used: 'algorithm' [UnusedImport]
|
||||
... [Suite] polygons (5.1: one per controlled token with the `vision` flag)
|
||||
... [OK] only the player's own vision tokens produce one, in token order
|
||||
... [OK] a player with no vision token has no polygons at all
|
||||
@@ -541,7 +557,7 @@
|
||||
... [OK] a gm_only token inside the LOS is not visible to anyone else
|
||||
... [OK] a player with no vision token sees only what they control
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tworld (from package fff_vtt) using c backend
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tworld (from package fff_vtt) using c backend
|
||||
Nim Output [Suite] scene (migration step 3, Q3: exactly one scene)
|
||||
... [OK] the migration seeds scene 1 with the v1 defaults, no walls, next_wall_id 1
|
||||
... [OK] an unknown scene id is not there (the wire answers not-found)
|
||||
|
||||
Reference in New Issue
Block a user