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 // Dart test program for testing basic boolean properties. | 5 // Dart test program for testing basic boolean properties. |
6 // @static-clean | 6 // @static-clean |
7 | 7 |
8 class BoolTest { | 8 class BoolTest { |
9 static void testEquality() { | 9 static void testEquality() { |
10 Expect.equals(true, true); | 10 Expect.equals(true, true); |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 testEquality(); | 210 testEquality(); |
211 testNegate(true, false); | 211 testNegate(true, false); |
212 testToString(); | 212 testToString(); |
213 testLogicalOp(); | 213 testLogicalOp(); |
214 } | 214 } |
215 } | 215 } |
216 | 216 |
217 main() { | 217 main() { |
218 BoolTest.testMain(); | 218 BoolTest.testMain(); |
219 } | 219 } |
OLD | NEW |