mirror of
https://github.com/status-im/nim-drchaos.git
synced 2025-02-27 18:10:37 +00:00
12 lines
262 B
Nim
12 lines
262 B
Nim
|
# Runs infinitely. Run with a time limit and make sure it doesn't crash.
|
||
|
import drchaos
|
||
|
|
||
|
type
|
||
|
OtherColor = enum
|
||
|
Cyan, Magenta=2, Yellow=4, Black=8
|
||
|
|
||
|
func fuzzTarget(x: OtherColor) =
|
||
|
doAssert x in [Cyan, Magenta, Yellow, Black]
|
||
|
|
||
|
defaultMutator(fuzzTarget)
|