Codebase list golang-github-tdewolff-parse / 5b0ddf07-989b-4482-a7ce-da69f4b4533d/v2.5.33 tests
5b0ddf07-989b-4482-a7ce-da69f4b4533d/v2.5.33

Tree @5b0ddf07-989b-4482-a7ce-da69f4b4533d/v2.5.33 (Download .tar.gz)

# Fuzzing parse

Fuzz testing for `parse` using [go-fuzz](https://github.com/dvyukov/go-fuzz). Pull requests to add more corpora or testers are appreciated.

To run the tests, install `go-fuzz`:

```
go get -u github.com/dvyukov/go-fuzz/go-fuzz github.com/dvyukov/go-fuzz/go-fuzz-build

cd $GOPATH/github.com/tdewolff/parse/tests/number

go-fuzz-build
go-fuzz -bin fuzz-fuzz.zip
```

If restarts is not close to `1/10000`, something is probably wrong. If not finding new corpus for a while, restart the fuzzer.