mirror of
https://github.com/status-im/nim-drchaos.git
synced 2025-02-19 22:28:15 +00:00
add commented code
This commit is contained in:
parent
03db755d39
commit
c30af6578b
@ -58,6 +58,9 @@ when isMainModule:
|
||||
HtmlNode(tag: text, s: "Hello World!"),
|
||||
])
|
||||
# Here you could feed `$x` to htmlparser.parseHtml and make sure it doesn't crash.
|
||||
#var errors: seq[string] = @[]
|
||||
#let tree = parseHtml($x, "unknown_html_doc", errors)
|
||||
#doAssert errors.len == 0
|
||||
doAssert $x != $data
|
||||
|
||||
defaultMutator(fuzzTarget)
|
||||
|
@ -55,6 +55,7 @@ when isMainModule:
|
||||
func fuzzTarget(x: Matrix32[2, 2]) =
|
||||
when defined(dumpFuzzInput): debugEcho(x)
|
||||
# Here you could multiply `x` with the identity matrix and make sure it doesn't change.
|
||||
#doAssert x * eye(2, float32) =~ x
|
||||
doAssert x != eye(2, float32)
|
||||
|
||||
defaultMutator(fuzzTarget)
|
||||
|
Loading…
x
Reference in New Issue
Block a user