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

Unified Diff: tests/corelib/int_truncate_to_double_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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/corelib/int_truncate_to_double_test.dart
diff --git a/tests/corelib/int_truncate_to_double_test.dart b/tests/corelib/int_truncate_to_double_test.dart
index 3ec2d61146e8daff4536f3af2ae8e915706ca886..197e1458d6552cf9c337790cc04cf9dedb83f353 100644
--- a/tests/corelib/int_truncate_to_double_test.dart
+++ b/tests/corelib/int_truncate_to_double_test.dart
@@ -11,16 +11,14 @@ main() {
Expect.equals(0x12345678, 0x12345678.truncateToDouble());
Expect.equals(0x123456789AB, 0x123456789AB.truncateToDouble());
Expect.equals(81985529216486900.0, 0x123456789ABCDEF.truncateToDouble());
- Expect.equals(
- 2.7898229935051914e+55,
+ Expect.equals(2.7898229935051914e+55,
0x123456789ABCDEF0123456789ABCDEF0123456789ABCDEF.truncateToDouble());
Expect.equals(-1.0, -1.truncateToDouble());
Expect.equals(-0x1234, -0x1234.truncateToDouble());
Expect.equals(-0x12345678, -0x12345678.truncateToDouble());
Expect.equals(-0x123456789AB, -0x123456789AB.truncateToDouble());
Expect.equals(-81985529216486900.0, -0x123456789ABCDEF.truncateToDouble());
- Expect.equals(
- -2.7898229935051914e+55,
+ Expect.equals(-2.7898229935051914e+55,
-0x123456789ABCDEF0123456789ABCDEF0123456789ABCDEF.truncateToDouble());
Expect.isTrue(0.truncateToDouble() is double);
@@ -29,15 +27,13 @@ main() {
Expect.isTrue(0x12345678.truncateToDouble() is double);
Expect.isTrue(0x123456789AB.truncateToDouble() is double);
Expect.isTrue(0x123456789ABCDEF.truncateToDouble() is double);
- Expect.isTrue(
- 0x123456789ABCDEF0123456789ABCDEF0123456789ABCDEF.truncateToDouble()
- is double);
+ Expect.isTrue(0x123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
+ .truncateToDouble() is double);
Expect.isTrue(-1.truncateToDouble() is double);
Expect.isTrue(-0x1234.truncateToDouble() is double);
Expect.isTrue(-0x12345678.truncateToDouble() is double);
Expect.isTrue(-0x123456789AB.truncateToDouble() is double);
Expect.isTrue(-0x123456789ABCDEF.truncateToDouble() is double);
- Expect.isTrue(
- -0x123456789ABCDEF0123456789ABCDEF0123456789ABCDEF.truncateToDouble()
- is double);
-}
+ Expect.isTrue(-0x123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
+ .truncateToDouble() is double);
+}

Powered by Google App Engine
This is Rietveld 408576698