mutation: parallel jobs in temp copies, per-mutation test files, FFF_MUTATION reduced iterations, trap cleanup, sleep inhibit
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
+5
-1
@@ -1,7 +1,11 @@
|
||||
## shared test helpers (not a test file)
|
||||
import std/math
|
||||
import std/[math, os]
|
||||
import geometry
|
||||
|
||||
proc scaled*(n: int): int =
|
||||
## FFF_MUTATION=1 (set only by tools/mutation.sh) divides random/oracle iteration counts by 10; normal runs use n.
|
||||
if getEnv("FFF_MUTATION") != "": max(1, n div 10) else: n
|
||||
|
||||
proc W*(ax, ay, bx, by: float, door = false, open = false): Wall =
|
||||
Wall(a: (ax, ay), b: (bx, by), door: door, open: open)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user