Skip to content

Commit

Permalink
Fix braces in vision test
Browse files Browse the repository at this point in the history
These are needed for the purpose of making the INFO statements
display only for the corresponding tests.
  • Loading branch information
ifreund committed Jul 8, 2019
1 parent 96abcad commit 1e24418
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions tests/vision_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -283,13 +283,16 @@ struct vision_test_case {
}

void test_all() const {
INFO( "using 3d casting" );
fov_3d = true;
test_all_transformations();

INFO( "using 2d casting" );
fov_3d = false;
test_all_transformations();
{
INFO( "using 3d casting" );
fov_3d = true;
test_all_transformations();
}
{
INFO( "using 2d casting" );
fov_3d = false;
test_all_transformations();
}
}
};

Expand Down

0 comments on commit 1e24418

Please sign in to comment.