Index: tests/corelib/double_ceil_test.dart |
diff --git a/tests/corelib/double_ceil_test.dart b/tests/corelib/double_ceil_test.dart |
index 66e83c2b9cb2ae6f74d881e85ef2fa9ad449b447..9901d09f69081ef6ff9ef990dafa8d436251253e 100644 |
--- a/tests/corelib/double_ceil_test.dart |
+++ b/tests/corelib/double_ceil_test.dart |
@@ -24,8 +24,9 @@ main() { |
Expect.equals(9007199254740991, 9007199254740991.0.ceil()); |
Expect.equals(9007199254740992, 9007199254740992.0.ceil()); |
- Expect.equals(179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368, |
- double.MAX_FINITE.ceil()); |
+ Expect.equals( |
+ 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368, |
+ double.MAX_FINITE.ceil()); |
Expect.equals(0, (-double.MIN_POSITIVE).ceil()); |
Expect.equals(0, (2.0 * -double.MIN_POSITIVE).ceil()); |
@@ -42,8 +43,9 @@ main() { |
Expect.equals(-4503599627370499, (-4503599627370499.0).ceil()); |
Expect.equals(-9007199254740991, (-9007199254740991.0).ceil()); |
Expect.equals(-9007199254740992, (-9007199254740992.0).ceil()); |
- Expect.equals(-179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368, |
- (-double.MAX_FINITE).ceil()); |
+ Expect.equals( |
+ -179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368, |
+ (-double.MAX_FINITE).ceil()); |
Expect.isTrue(0.0.ceil() is int); |
Expect.isTrue(double.MIN_POSITIVE.ceil() is int); |
@@ -79,4 +81,4 @@ main() { |
Expect.isTrue((-9007199254740991.0).ceil() is int); |
Expect.isTrue((-9007199254740992.0).ceil() is int); |
Expect.isTrue((-double.MAX_FINITE).ceil() is int); |
-} |
+} |