Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(466)

Unified Diff: tests/lib/math/math_test.dart

Issue 475463005: Implement math.gcd in dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Move gcd to pkg/math; move tests; fix implementation; split bigint tests Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/lib/math/math_test.dart
diff --git a/tests/lib/math/math_test.dart b/tests/lib/math/math_test.dart
index b911e0a5157d1f305cab9c099c878d8068538703..8edd0635748bf08667401bfdcbe929341ef54c89 100644
--- a/tests/lib/math/math_test.dart
+++ b/tests/lib/math/math_test.dart
@@ -132,8 +132,8 @@ class MathTest {
}
static void testExp() {
+ final double EPSILON = 1e-15;
Lasse Reichstein Nielsen 2014/08/20 12:17:03 Unnecessary change.
srawlins 2014/08/25 05:43:54 Done.
checkVeryClose(E, exp(1.0));
- final EPSILON = 1e-15;
checkClose(10.0, exp(LN10), EPSILON);
checkClose(2.0, exp(LN2), EPSILON);
}
« tests/lib/math/math_package_bigint_test.dart ('K') | « tests/lib/math/math_package_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698