reduce random case test numbers as well
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 27 Feb 2019 12:10:31 +0000 (12:10 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 27 Feb 2019 12:10:31 +0000 (12:10 +0000)
src/add/unit_test_single.py

index c5e66c4d1b0f644535f3d004bf6310eea60436e7..3dba32ee0d3a24834d63f6037499bb7fffa5ff8e 100644 (file)
@@ -186,7 +186,7 @@ def run_edge_cases(dut, count, op):
         count = yield from run_cases(dut, count, op, testme, 10)
 
     for i in range(100000):
-        stimulus_a = [randint(0, 1<<32) for i in range(1000)]
-        count = yield from run_cases(dut, count, op, stimulus_a, 1000)
+        stimulus_a = [randint(0, 1<<32) for i in range(10)]
+        count = yield from run_cases(dut, count, op, stimulus_a, 10)
     return count