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

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

Issue 22943005: Add documentation to dart:math pow function. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 7 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
« no previous file with comments | « tests/lib/math/double_pow_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/math/math_test.dart
diff --git a/tests/lib/math/math_test.dart b/tests/lib/math/math_test.dart
index 04a5022ea9107e0bb666b74c8502ef1d134a6346..b911e0a5157d1f305cab9c099c878d8068538703 100644
--- a/tests/lib/math/math_test.dart
+++ b/tests/lib/math/math_test.dart
@@ -146,12 +146,6 @@ class MathTest {
checkVeryClose(LN2, log(2.0));
}
- static void testPow() {
- checkVeryClose(16.0, pow(4.0, 2.0));
- checkVeryClose(SQRT2, pow(2.0, 0.5));
- checkVeryClose(SQRT1_2, pow(0.5, 0.5));
- }
-
static bool parseIntThrowsFormatException(str) {
try {
int.parse(str);
@@ -251,7 +245,6 @@ class MathTest {
testSqrt();
testLog();
testExp();
- testPow();
testParseInt();
}
}
« no previous file with comments | « tests/lib/math/double_pow_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698