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

Unified Diff: tests/corelib/double_round_test.dart

Issue 12667008: Update status files. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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/corelib/double_round3_test.dart ('k') | tests/corelib/double_round_to_double2_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/double_round_test.dart
diff --git a/tests/corelib/double_round_test.dart b/tests/corelib/double_round_test.dart
index b595d7bd2536cf908d681dca61f4383475cb8387..6c7dbccf728427468679c1473ffa1e588103ba32 100644
--- a/tests/corelib/double_round_test.dart
+++ b/tests/corelib/double_round_test.dart
@@ -8,7 +8,6 @@ main() {
Expect.equals(0, (2.0 * double.MIN_POSITIVE).round());
Expect.equals(0, (1.18e-38).round());
Expect.equals(0, (1.18e-38 * 2).round());
- Expect.equals(0, 0.49999999999999994.round());
Expect.equals(1, 0.5.round());
Expect.equals(1, 0.9999999999999999.round());
Expect.equals(1, 1.0.round());
@@ -29,7 +28,6 @@ main() {
Expect.equals(0, (2.0 * -double.MIN_POSITIVE).round());
Expect.equals(0, (-1.18e-38).round());
Expect.equals(0, (-1.18e-38 * 2).round());
- Expect.equals(0, (-0.49999999999999994).round());
Expect.equals(-1, (-0.5).round());
Expect.equals(-1, (-0.9999999999999999).round());
Expect.equals(-1, (-1.0).round());
@@ -48,7 +46,6 @@ main() {
Expect.isTrue((2.0 * double.MIN_POSITIVE).round() is int);
Expect.isTrue((1.18e-38).round() is int);
Expect.isTrue((1.18e-38 * 2).round() is int);
- Expect.isTrue(0.49999999999999994.round() is int);
Expect.isTrue(0.5.round() is int);
Expect.isTrue(0.9999999999999999.round() is int);
Expect.isTrue(1.0.round() is int);
@@ -65,7 +62,6 @@ main() {
Expect.isTrue((2.0 * -double.MIN_POSITIVE).round() is int);
Expect.isTrue((-1.18e-38).round() is int);
Expect.isTrue((-1.18e-38 * 2).round() is int);
- Expect.isTrue((-0.49999999999999994).round() is int);
Expect.isTrue((-0.5).round() is int);
Expect.isTrue((-0.9999999999999999).round() is int);
Expect.isTrue((-1.0).round() is int);
« no previous file with comments | « tests/corelib/double_round3_test.dart ('k') | tests/corelib/double_round_to_double2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698