Skip to content

Commit

Permalink
Remove unnecessary braces.
Browse files Browse the repository at this point in the history
  • Loading branch information
abellgithub committed Jul 6, 2018
1 parent e656c13 commit 91df2f6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/unit/filters/NNDistanceTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,17 +112,11 @@ TEST(NNDistanceTest, kdist)
bool edge = (xe + ye + ze == 2);
bool face = (xe + ye + ze == 1);
if (corner)
{
EXPECT_EQ(d, (1 + std::sqrt(2)) / 2.0);
}
else if (edge)
{
EXPECT_EQ(d, (2 + std::sqrt(2)) / 3.0);
}
else if (face)
{
EXPECT_EQ(d, (5 + std::sqrt(2)) / 6.0);
}
else
EXPECT_EQ(d, 1);
}
Expand Down

0 comments on commit 91df2f6

Please sign in to comment.