Skip to content

Commit bb52887

Browse files
committed
unittest: Replace TRUE, FALSE by true, false
Signed-off-by: Stefan Weil <sw@weilnetz.de>
1 parent b391ab8 commit bb52887

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

unittest/equationdetect_test.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ class EquationFinderTest : public testing::Test {
127127
CHECK(blocks != nullptr);
128128
BLOCK_IT block_it(blocks);
129129
BLOCK* block =
130-
new BLOCK("", TRUE, 0, 0, 0, 0, pixGetWidth(pix), pixGetHeight(pix));
130+
new BLOCK("", true, 0, 0, 0, 0, pixGetWidth(pix), pixGetHeight(pix));
131131
block_it.add_to_end(block);
132132
}
133133

unittest/textlineprojection_test.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class TextlineProjectionTest : public testing::Test {
8383
int width = pixGetWidth(bin_pix_);
8484
int height = pixGetHeight(bin_pix_);
8585
// First make a single block covering the whole image.
86-
BLOCK* block = new BLOCK("", TRUE, 0, 0, 0, 0, width, height);
86+
BLOCK* block = new BLOCK("", true, 0, 0, 0, 0, width, height);
8787
block->set_right_to_left(false);
8888
BLOCK_LIST src_blocks;
8989
BLOCK_IT block_it(&src_blocks);

0 commit comments

Comments
 (0)