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 | 4 |
5 import "package:expect/expect.dart"; | |
6 | |
7 int zero() { return 0; } | 5 int zero() { return 0; } |
8 int one() { return 1; } | 6 int one() { return 1; } |
9 int minus1() { return 0 - 1; } | 7 int minus1() { return 0 - 1; } |
10 int two() { return 2; } | 8 int two() { return 2; } |
11 int three() { return 3; } | 9 int three() { return 3; } |
12 int five() { return 5; } | 10 int five() { return 5; } |
13 int minus5() { return 0 - 5; } | 11 int minus5() { return 0 - 5; } |
14 int ninetyNine() { return 99; } | 12 int ninetyNine() { return 99; } |
15 int four99() { return 499; } | 13 int four99() { return 499; } |
16 int four99times99() { return 499 * 99; } | 14 int four99times99() { return 499 * 99; } |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 mulTest(); | 144 mulTest(); |
147 divTest(); | 145 divTest(); |
148 tdivTest(); | 146 tdivTest(); |
149 modTest(); | 147 modTest(); |
150 shlTest(); | 148 shlTest(); |
151 shrTest(); | 149 shrTest(); |
152 andTest(); | 150 andTest(); |
153 orTest(); | 151 orTest(); |
154 xorTest(); | 152 xorTest(); |
155 } | 153 } |
OLD | NEW |