pdme/scripts/fuzz.py
Deepak Mallubhotla 1f7acf1a1f
All checks were successful
gitea-physics/pdme/pipeline/head This commit looks good
test: adds atheris
2022-04-12 09:48:26 -05:00

13 lines
230 B
Python

import atheris
with atheris.instrument_imports():
import pdme
import pdme.util.normal_form
import sys
def test_pdme(pt):
pdme.util.normal_form.flip_chunk_to_positive_px(pt)
atheris.Setup(sys.argv, test_pdme)
atheris.Fuzz()