TutteInstitute / vectorizers

Vectorizers for a range of different data types
BSD 3-Clause "New" or "Revised" License
93 stars 23 forks source link

Add hypothesis random tests #44

Open acwooding opened 4 years ago

acwooding commented 4 years ago

First pass at adding hypothesis generated test data. Replaced np.random calls in property-based tests with the corresponding hypothesis calls. Have to use deadline=None because of numba (first run is slow compared to the subsequent runs and that causes hypothesis to fail the test for being "flaky").