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

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

Issue 11227042: isEven, isOdd, isNegative, isMaxValue, isMinValue, isInfinite, isPositive, isSingleValue. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase. Created 8 years, 2 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_parse_double_test.dart
diff --git a/tests/lib/math/math_parse_double_test.dart b/tests/lib/math/math_parse_double_test.dart
index 4bf4a3262761fc823e41df7e81686ab13a6c1f6c..c44c30126b8613a45a6641c73a59d04813cbe26f 100644
--- a/tests/lib/math/math_parse_double_test.dart
+++ b/tests/lib/math/math_parse_double_test.dart
@@ -25,11 +25,11 @@ void main() {
Expect.equals(0.0, parseDouble("0"));
Expect.equals(0.0, parseDouble("+0"));
Expect.equals(-0.0, parseDouble("-0"));
- Expect.equals(true, parseDouble("-0").isNegative());
+ Expect.equals(true, parseDouble("-0").isNegative);
Expect.equals(0.0, parseDouble(" 0 "));
Expect.equals(0.0, parseDouble(" +0 "));
Expect.equals(-0.0, parseDouble(" -0 "));
- Expect.equals(true, parseDouble(" -0 ").isNegative());
+ Expect.equals(true, parseDouble(" -0 ").isNegative);
Expect.equals(1.0 * 0x1234567890, parseDouble("0x1234567890"));
Expect.equals(1.0 * -0x1234567890, parseDouble("-0x1234567890"));
Expect.equals(1.0 * 0x1234567890, parseDouble(" 0x1234567890 "));

Powered by Google App Engine
This is Rietveld 408576698