aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-12-24 21:49:52 -0500
committerJack Lloyd <[email protected]>2016-12-24 21:49:52 -0500
commitb7111d7876287da71ec78463da369b2746cb0f9f (patch)
tree9e4469dcd93e130b3e0507145f7ec4200933ba7e /src/tests
parent0f3bf4d4d056c41b585b62145d03e1588c24fcec (diff)
Long test was too long
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/test_bigint.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/tests/test_bigint.cpp b/src/tests/test_bigint.cpp
index 2d9992abb..872cfc960 100644
--- a/src/tests/test_bigint.cpp
+++ b/src/tests/test_bigint.cpp
@@ -86,7 +86,7 @@ class BigInt_Unit_Tests : public Test
result.start_timer();
- const size_t ITERATIONS = 5000;
+ const size_t ITERATIONS = 500;
std::vector<size_t> min_ranges{ 0 };
std::vector<size_t> max_ranges{ 10 };
@@ -94,11 +94,8 @@ class BigInt_Unit_Tests : public Test
if(Test::run_long_tests())
{
// This gets slow quickly:
- min_ranges.push_back(10);
- max_ranges.push_back(100);
-
- min_ranges.push_back(79);
- max_ranges.push_back(293);
+ min_ranges.push_back(7);
+ max_ranges.push_back(113);
}
for(size_t range_min : min_ranges)