OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 #include "Test.h" | 8 #include "Test.h" |
9 #include "SkBitSet.h" | 9 #include "SkBitSet.h" |
10 | 10 |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 REPORTER_ASSERT(reporter, set2 != set3); | 69 REPORTER_ASSERT(reporter, set2 != set3); |
70 set3.setBit(0, true); | 70 set3.setBit(0, true); |
71 REPORTER_ASSERT(reporter, set2 == set3); | 71 REPORTER_ASSERT(reporter, set2 == set3); |
72 set3.clearAll(); | 72 set3.clearAll(); |
73 set3 = set2; | 73 set3 = set2; |
74 set2 = set2; | 74 set2 = set2; |
75 REPORTER_ASSERT(reporter, set2 == set3); | 75 REPORTER_ASSERT(reporter, set2 == set3); |
76 } | 76 } |
77 | 77 |
78 #include "TestClassDef.h" | 78 #include "TestClassDef.h" |
79 DEFINE_TESTCLASS("BitSet", BitSetTest, TestBitSet) | 79 DEFINE_TESTCLASS_SHORT(TestBitSet) |
OLD | NEW |