48 lines
2.7 KiB
Plaintext
48 lines
2.7 KiB
Plaintext
Info: Using the environment variable: NIMBLE_DIR='/home/davide/Projects/GDR/FFF_vtt/.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/tests/tgeometry (from package fff_vtt) using c backend
|
|
Nim Output [Suite] visibility
|
|
... [OK] open space is a circle
|
|
... [OK] wall blocks
|
|
... [OK] shared endpoint: no leak at the vertex
|
|
... [OK] shared vertex: both arms required (mutation d1/d2)
|
|
... [OK] '<' apex: ray through the shared tip must not leak
|
|
... [OK] every segment endpoint is a polygon vertex (lower and upper end inclusive)
|
|
... [OK] rays nudged past a corner: area just beyond a wall end is visible
|
|
... [OK] shared endpoint: closed corner of box has no crack
|
|
... [OK] collinear walls act as one
|
|
... [OK] collinear walls with a gap let light through
|
|
... [OK] T-junction: no leak and correct shadow
|
|
... [OK] pillar mid-room casts a shadow, sides visible
|
|
... [OK] closed door blocks, open door passes
|
|
... [OK] token exactly at wall endpoint
|
|
... [OK] token at endpoint of free-standing wall sees along it
|
|
... [OK] long thin corridor
|
|
... [OK] wall endpoints behind the viewer: fan stays angularly ordered
|
|
... [OK] radius clips
|
|
... [Suite] moves
|
|
... [OK] crossing blocked, parallel ok
|
|
... [OK] grazing an endpoint is blocked
|
|
... [OK] no leak through shared vertex
|
|
... [OK] diagonal squeeze through corner vertex of L
|
|
... [OK] moving along a collinear wall is blocked
|
|
... [OK] doors
|
|
... [OK] zero-length move
|
|
... [Suite] cells
|
|
... [OK] square polygon
|
|
... [OK] tiny polygon inside one cell
|
|
... [OK] polygon spanning a cell with no vertex in it
|
|
... [OK] big polygon includes fully covered interior cells
|
|
... [Suite] seed
|
|
... [OK] every token in seed sees itself and is not walled in
|
|
... [Suite] token clearance (r=20)
|
|
... [OK] near pillar: circle overlapping blocked, clear ok
|
|
... [OK] near closed door blocks, open door passes
|
|
... [OK] 64px corridor and doorway passable on centerline
|
|
... [OK] legacy overlap can escape, not stay overlapped
|
|
... [Suite] door/wall closing on a token (M1 pins current behaviour)
|
|
... [OK] door closed on a token: Q14 undecided, DESIGN 5.4 vs 12 H2 conflict
|
|
... [OK] KNOWN LIMITATION: token exactly on a wall cannot move off it
|
|
Success: Execution finished
|
|
Success: All tests passed
|