OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #include "SkBitSet.h" | 8 #include "SkBitSet.h" |
9 #include "Test.h" | 9 #include "Test.h" |
10 | 10 |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 REPORTER_ASSERT(reporter, set2 != set5); | 63 REPORTER_ASSERT(reporter, set2 != set5); |
64 | 64 |
65 set2.setBit(0, true); | 65 set2.setBit(0, true); |
66 REPORTER_ASSERT(reporter, set2 != set5); | 66 REPORTER_ASSERT(reporter, set2 != set5); |
67 set5.setBit(0, true); | 67 set5.setBit(0, true); |
68 REPORTER_ASSERT(reporter, set2 != set5); | 68 REPORTER_ASSERT(reporter, set2 != set5); |
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; | |
74 set2 = set2; | |
75 REPORTER_ASSERT(reporter, set2 == set3); | |
76 } | 73 } |
OLD | NEW |