diff options
| author | Scott Gasch <[email protected]> | 2021-07-11 10:16:07 -0700 |
|---|---|---|
| committer | Scott Gasch <[email protected]> | 2021-07-11 10:16:07 -0700 |
| commit | a838c154135b2420d9047a101caf24a2c9f593c2 (patch) | |
| tree | fbb0f6a0e66b4826352003d67f6e20bbcda0dda4 /tests | |
| parent | 7d7a3ce0abb26766e82c6dfed8a196baa63b736a (diff) | |
Random cleanups and type safety. Created ml subdir.
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/parallelize_test.py | 2 | ||||
| -rwxr-xr-x | tests/run_all_tests.sh | 2 |
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 |
