summaryrefslogtreecommitdiff
path: root/test/math/extendedEuclid.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/math/extendedEuclid.cpp')
-rw-r--r--test/math/extendedEuclid.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/math/extendedEuclid.cpp b/test/math/extendedEuclid.cpp
index 597f722..07e4882 100644
--- a/test/math/extendedEuclid.cpp
+++ b/test/math/extendedEuclid.cpp
@@ -32,8 +32,10 @@ void stress_test() {
queries++;
}
cerr << "tested random queries: " << queries << endl;
- if (t.time > 500) cerr << "too slow: " << t.time << FAIL;
- cerr << "tested performance: " << t.time << "ms" << endl;
+ if (!sanitize) {
+ if (t.time > 500) cerr << "too slow: " << t.time << FAIL;
+ cerr << "tested performance: " << t.time << "ms" << endl;
+ }
}
int main() {