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

Side by Side Diff: runtime/vm/bitmap_test.cc

Issue 2974233002: VM: Re-format to use at most one newline between functions (Closed)
Patch Set: Rebase and merge Created 3 years, 5 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 | « runtime/vm/bitmap.cc ('k') | runtime/vm/block_scheduler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 #include "vm/bitmap.h"
5 #include "platform/assert.h" 6 #include "platform/assert.h"
6 #include "vm/bitmap.h"
7 #include "vm/object.h" 7 #include "vm/object.h"
8 #include "vm/unit_test.h" 8 #include "vm/unit_test.h"
9 9
10 namespace dart { 10 namespace dart {
11 11
12 TEST_CASE(BitmapBuilder) { 12 TEST_CASE(BitmapBuilder) {
13 // Test basic bit map builder operations. 13 // Test basic bit map builder operations.
14 BitmapBuilder* builder1 = new BitmapBuilder(); 14 BitmapBuilder* builder1 = new BitmapBuilder();
15 EXPECT_EQ(0, builder1->Length()); 15 EXPECT_EQ(0, builder1->Length());
16 16
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 for (int32_t i = 257; i < 747; ++i) { 95 for (int32_t i = 257; i < 747; ++i) {
96 EXPECT(builder1->Get(i)); 96 EXPECT(builder1->Get(i));
97 } 97 }
98 for (int32_t i = 747; i < 900; ++i) { 98 for (int32_t i = 747; i < 900; ++i) {
99 EXPECT(!builder1->Get(i)); 99 EXPECT(!builder1->Get(i));
100 } 100 }
101 EXPECT(builder1->Get(900)); 101 EXPECT(builder1->Get(900));
102 } 102 }
103 103
104 } // namespace dart 104 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/bitmap.cc ('k') | runtime/vm/block_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698