Skip to content

Commit

Permalink
unittest: Replace TRUE, FALSE by true, false
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Mar 31, 2019
1 parent b391ab8 commit bb52887
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion unittest/equationdetect_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class EquationFinderTest : public testing::Test {
CHECK(blocks != nullptr);
BLOCK_IT block_it(blocks);
BLOCK* block =
new BLOCK("", TRUE, 0, 0, 0, 0, pixGetWidth(pix), pixGetHeight(pix));
new BLOCK("", true, 0, 0, 0, 0, pixGetWidth(pix), pixGetHeight(pix));
block_it.add_to_end(block);
}

Expand Down
2 changes: 1 addition & 1 deletion unittest/textlineprojection_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class TextlineProjectionTest : public testing::Test {
int width = pixGetWidth(bin_pix_);
int height = pixGetHeight(bin_pix_);
// First make a single block covering the whole image.
BLOCK* block = new BLOCK("", TRUE, 0, 0, 0, 0, width, height);
BLOCK* block = new BLOCK("", true, 0, 0, 0, 0, width, height);
block->set_right_to_left(false);
BLOCK_LIST src_blocks;
BLOCK_IT block_it(&src_blocks);
Expand Down

0 comments on commit bb52887

Please sign in to comment.