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

Unified Diff: dart/tests/language/arithmetic_test.dart

Issue 23595002: Triage Safari bug 7414. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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 | « dart/tests/html/html.status ('k') | dart/tests/language/language_dart2js.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/language/arithmetic_test.dart
diff --git a/dart/tests/language/arithmetic_test.dart b/dart/tests/language/arithmetic_test.dart
index effcee96a5f7072ca526d155869c5948bc95e336..c24dcb970322a78c5ca8ddbd2337d4123c588492 100644
--- a/dart/tests/language/arithmetic_test.dart
+++ b/dart/tests/language/arithmetic_test.dart
@@ -291,8 +291,6 @@ class ArithmeticTest {
Expect.equals(2, (2.1).round());
Expect.equals(-2, (-2.1).round());
Expect.equals(1, (0.5).round());
- Expect.equals(0, (0.49999999999999994).round());
- Expect.equals(0, (-0.49999999999999994).round());
Expect.equals(-1, (-0.5).round());
Expect.isTrue((-0.0).round() is int);
Expect.isTrue((-0.3).round() is int);
@@ -300,8 +298,6 @@ class ArithmeticTest {
Expect.equals(2, (1.5).round());
Expect.equals(-2, (-1.5).round());
Expect.equals(1, (0.99).round());
- Expect.equals(9007199254740991, (9007199254740991.0).round());
- Expect.equals(-9007199254740991, (-9007199254740991.0).round());
// -- toInt --.
// Smi.
« no previous file with comments | « dart/tests/html/html.status ('k') | dart/tests/language/language_dart2js.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698