Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Side by Side Diff: tests/BitSetTest.cpp

Issue 2253283004: SkPDF: in-place font subsetting (Closed) Base URL: https://skia.googlesource.com/skia.git@SkPdfCacheMetrics
Patch Set: 2016-08-18 (Thursday) 16:02:16 EDT Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/utils/SkBitSet.cpp ('k') | tests/PDFGlyphsToUnicodeTest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « src/utils/SkBitSet.cpp ('k') | tests/PDFGlyphsToUnicodeTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698