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 | 5 |
6 expectLargeRect(ClientRect rect) { | 6 expectLargeRect(ClientRect rect) { |
7 Expect.equals(rect.top, 0); | 7 Expect.equals(rect.top, 0); |
8 Expect.equals(rect.left, 0); | 8 Expect.equals(rect.left, 0); |
9 Expect.isTrue(rect.width > 100); | 9 Expect.isTrue(rect.width > 100); |
10 Expect.isTrue(rect.height > 100); | 10 Expect.isTrue(rect.height > 100); |
(...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
884 classes.intersection(['foo', 'qux', 'baz'])); | 884 classes.intersection(['foo', 'qux', 'baz'])); |
885 }); | 885 }); |
886 | 886 |
887 test('clear', () { | 887 test('clear', () { |
888 final classes = makeClassSet(); | 888 final classes = makeClassSet(); |
889 classes.clear(); | 889 classes.clear(); |
890 Expect.setEquals([], classes); | 890 Expect.setEquals([], classes); |
891 }); | 891 }); |
892 }); | 892 }); |
893 } | 893 } |
OLD | NEW |