Index: tests/language/number_syntax_test.dart |
diff --git a/tests/language/number_syntax_test.dart b/tests/language/number_syntax_test.dart |
index be57ab0047783d3818f306cc691acd69aa53a0ba..7ec4e24a4aa7d2514c1f26c30bc6e03969067376 100644 |
--- a/tests/language/number_syntax_test.dart |
+++ b/tests/language/number_syntax_test.dart |
@@ -17,59 +17,35 @@ class NumberSyntaxTest { |
static void testDotSelectorSyntax() { |
// Integers. |
- Expect.equals(0, 0.dynamic); |
- Expect.equals(1, 1.dynamic); |
- Expect.equals(123, 123.dynamic); |
Expect.equals('0', 0.toString()); |
Expect.equals('1', 1.toString()); |
Expect.equals('123', 123.toString()); |
- Expect.equals(0, 0 .dynamic); |
- Expect.equals(1, 1 .dynamic); |
- Expect.equals(123, 123 .dynamic); |
Expect.equals('0', 0 .toString()); |
Expect.equals('1', 1 .toString()); |
Expect.equals('123', 123 .toString()); |
- Expect.equals(0, 0. dynamic); |
- Expect.equals(1, 1. dynamic); |
- Expect.equals(123, 123. dynamic); |
Expect.equals('0', 0. toString()); |
Expect.equals('1', 1. toString()); |
Expect.equals('123', 123. toString()); |
// Doubles. |
- Expect.equals(0.0, 0.0.dynamic); |
- Expect.equals(0.1, .1.dynamic); |
- Expect.equals(1.1, 1.1.dynamic); |
- Expect.equals(123.4, 123.4.dynamic); |
Expect.equals((0.0).toString(), 0.0.toString()); |
Expect.equals((0.1).toString(), .1.toString()); |
Expect.equals((1.1).toString(), 1.1.toString()); |
Expect.equals((123.4).toString(), 123.4.toString()); |
- Expect.equals(0.0, 0.0 .dynamic); |
- Expect.equals(0.1, .1.dynamic); |
- Expect.equals(1.1, 1.1 .dynamic); |
- Expect.equals(123.4, 123.4 .dynamic); |
Expect.equals((0.0).toString(), 0.0 .toString()); |
Expect.equals((0.1).toString(), .1 .toString()); |
Expect.equals((1.1).toString(), 1.1 .toString()); |
Expect.equals((123.4).toString(), 123.4 .toString()); |
- Expect.equals(0.0, 0.0. dynamic); |
- Expect.equals(0.1, .1.dynamic); |
- Expect.equals(1.1, 1.1. dynamic); |
- Expect.equals(123.4, 123.4. dynamic); |
Expect.equals((0.0).toString(), 0.0. toString()); |
Expect.equals((0.1).toString(), .1. toString()); |
Expect.equals((1.1).toString(), 1.1. toString()); |
Expect.equals((123.4).toString(), 123.4. toString()); |
// Exponent notation. |
- Expect.equals(0e0, 0e0.dynamic); |
- Expect.equals(1e+1, 1e+1.dynamic); |
- Expect.equals(2.1e-34, 2.1e-34.dynamic); |
Expect.equals((0e0).toString(), 0e0.toString()); |
Expect.equals((1e+1).toString(), 1e+1.toString()); |
Expect.equals((2.1e-34).toString(), 2.1e-34.toString()); |