summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/parallelize_test.py2
-rwxr-xr-xtests/run_all_tests.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/parallelize_test.py b/tests/parallelize_test.py
index 051ec5d..44f723c 100755
--- a/tests/parallelize_test.py
+++ b/tests/parallelize_test.py
@@ -22,7 +22,7 @@ def list_primes(n):
@decorator_utils.timed
def driver() -> None:
results = {}
- for _ in range(200):
+ for _ in range(50):
n = random.randint(0, 100000)
results[n] = list_primes(n)
tot = 0
diff --git a/tests/run_all_tests.sh b/tests/run_all_tests.sh
index ecb3648..13aa2fb 100755
--- a/tests/run_all_tests.sh
+++ b/tests/run_all_tests.sh
@@ -1,6 +1,6 @@
#!/bin/bash
for test in $(ls *_test.py); do
- echo "------------------------------ ${test} ------------------------------"
+ echo "------------------------- ${test} -------------------------"
${test}
done