From e0018a3337ee4582ab3eabeb57bee79bf067f4a7 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 27 Feb 2019 12:10:31 +0000 Subject: [PATCH] reduce random case test numbers as well --- src/add/unit_test_single.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/add/unit_test_single.py b/src/add/unit_test_single.py index c5e66c4d..3dba32ee 100644 --- a/src/add/unit_test_single.py +++ b/src/add/unit_test_single.py @@ -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 -- 2.30.2