OLD | NEW |
1 // Copyright (c) 2014, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dartino 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 // Dart test for testing resolving of dynamic and static calls. | 4 // Dart test for testing resolving of dynamic and static calls. |
5 | 5 |
6 import "package:expect/expect.dart"; | 6 import "package:expect/expect.dart"; |
7 | 7 |
8 main() { | 8 main() { |
9 testEquality(); | 9 testEquality(); |
10 testInheritance(); | 10 testInheritance(); |
11 testDiv(); | 11 testDiv(); |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 Expect.equals(-1, y >> 75); | 68 Expect.equals(-1, y >> 75); |
69 x = 1 << 50; | 69 x = 1 << 50; |
70 y = -x; | 70 y = -x; |
71 Expect.equals(0, x >> 51); | 71 Expect.equals(0, x >> 51); |
72 Expect.equals(-1, y >> 51); | 72 Expect.equals(-1, y >> 51); |
73 Expect.equals(0, x >> 64); | 73 Expect.equals(0, x >> 64); |
74 Expect.equals(-1, y >> 64); | 74 Expect.equals(-1, y >> 64); |
75 Expect.equals(0, x >> 75); | 75 Expect.equals(0, x >> 75); |
76 Expect.equals(-1, y >> 75); | 76 Expect.equals(-1, y >> 75); |
77 } | 77 } |
OLD | NEW |