Restrict test_channel_subsampling inputs to <= 100

Considerably speeds up Hypothesis test-case minimization when failures
occur.
pull/357/head
nyanpasu64 2018-08-24 21:39:59 -07:00
rodzic 763e1d3533
commit d355fa728e
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -13,7 +13,7 @@ from ovgenpy.triggers import NullTriggerConfig
assert reproduce_failure
positive = integers(min_value=1)
positive = integers(min_value=1, max_value=100)
@given(subsampling=positive, trigger_width_ratio=positive, render_width_ratio=positive)
def test_channel_subsampling(