OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 // Test number types. | 4 // Test number types. |
5 | 5 |
6 #library("NumbersTest.dart"); | 6 #library("NumbersTest.dart"); |
7 #import("dart:coreimpl"); | 7 #import("dart:coreimpl"); |
8 | 8 |
9 class NumbersTest { | 9 class NumbersTest { |
10 static double testMain() { | 10 static double testMain() { |
(...skipping 23 matching lines...) Expand all Loading... |
34 | 34 |
35 Expect.equals(3.0, result); | 35 Expect.equals(3.0, result); |
36 return result; | 36 return result; |
37 } | 37 } |
38 } | 38 } |
39 | 39 |
40 | 40 |
41 main() { | 41 main() { |
42 NumbersTest.testMain(); | 42 NumbersTest.testMain(); |
43 } | 43 } |
OLD | NEW |