Index: tests/standalone/unboxed_int_converter_test.dart |
diff --git a/tests/standalone/unboxed_int_converter_test.dart b/tests/standalone/unboxed_int_converter_test.dart |
index 297861d6b4b893ea157d6340088f3a08a14b8e86..5cbaa4dbd8867dbedf88b03a916f57f71aab3e12 100644 |
--- a/tests/standalone/unboxed_int_converter_test.dart |
+++ b/tests/standalone/unboxed_int_converter_test.dart |
@@ -32,7 +32,6 @@ mint_to_int32(a, c, d) { |
uint32_to_int32(a, c) { |
return (a * a * a) * (c & 0xFFFFFFFF); |
- |
} |
main() { |
@@ -49,13 +48,13 @@ main() { |
Expect.equals(0x7ffffffe, int32_add(0x7ffffffc ~/ 2, 1, 2)); |
Expect.equals(-0x80000000, int32_add(-0x7ffffffe ~/ 2, -1, 2)); |
- Expect.equals(-0x80000002, int32_add(-0x7ffffffe ~/ 2, -2, 2)); // Overflow. |
+ Expect.equals(-0x80000002, int32_add(-0x7ffffffe ~/ 2, -2, 2)); // Overflow. |
Expect.equals(0x7ffffffe, int32_sub(0x7ffffffc ~/ 2, -1, 2)); |
Expect.equals(-0x80000000, int32_sub(-0x7ffffffe ~/ 2, 1, 2)); |
- Expect.equals(-0x80000002, int32_sub(-0x7ffffffe ~/ 2, 2, 2)); // Overflow. |
+ Expect.equals(-0x80000002, int32_sub(-0x7ffffffe ~/ 2, 2, 2)); // Overflow. |
Expect.equals(-0x7ffffffe, int32_mul(0x7ffffffe ~/ 2, -1, 2)); |
Expect.equals(-0x80000000, int32_mul(-0x80000000 ~/ 2, 1, 2)); |
- Expect.equals(0x80000000, int32_mul(-0x80000000 ~/ 2, -1, 2)); // Overflow. |
+ Expect.equals(0x80000000, int32_mul(-0x80000000 ~/ 2, -1, 2)); // Overflow. |
Expect.equals(0x60000000, int32_xor(0x40000000 ~/ 2, 0x20000000 ~/ 2, 2)); |
Expect.equals(0x00000000, int32_xor(0x40000000 ~/ 2, 0x40000000 ~/ 2, 2)); |
Expect.equals(0x60000000, int32_or(0x40000000 ~/ 2, 0x20000000 ~/ 2, 2)); |
@@ -65,7 +64,7 @@ main() { |
Expect.equals(1, int32_shr(1, 1 << 16, 1)); |
Expect.equals(-1 << 15, int32_shr(1 << 15, -(1 << 16), 1)); |
Expect.equals(-0x080000000, int32_shl(-1 << 15, 1, 1)); |
- Expect.equals(-0x100000000, int32_shl(-1 << 16, 1, 1)); // Overflow. |
+ Expect.equals(-0x100000000, int32_shl(-1 << 16, 1, 1)); // Overflow. |
Expect.equals(0, int32_shr(1, 1, 1)); |
Expect.equals(1 << 16, int32_shl(1, 1, 1)); |
@@ -76,4 +75,4 @@ main() { |
Expect.equals(8, uint32_to_int32(2, 0x100000001)); |
} |
Expect.equals(8 * 0x80000001, uint32_to_int32(2, 0x180000001)); |
-} |
+} |