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"; | 5 import "package:expect/expect.dart"; |
6 | 6 |
7 class BoolTest { | 7 class BoolTest { |
8 static void testEquality() { | 8 static void testEquality() { |
9 Expect.equals(true, true); | 9 Expect.equals(true, true); |
10 Expect.equals(false, false); | 10 Expect.equals(false, false); |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 testEquality(); | 201 testEquality(); |
202 testNegate(true, false); | 202 testNegate(true, false); |
203 testToString(); | 203 testToString(); |
204 testLogicalOp(); | 204 testLogicalOp(); |
205 } | 205 } |
206 } | 206 } |
207 | 207 |
208 main() { | 208 main() { |
209 BoolTest.testMain(); | 209 BoolTest.testMain(); |
210 } | 210 } |
OLD | NEW |