Skip to content
Snippets Groups Projects
Commit b32e7332 authored by Tom Fischer's avatar Tom Fischer
Browse files

[T/GL] Do not test exactly the bounds.

OctTree modifies the right limit of the interface a little bit.
parent 49cdb013
No related branches found
No related tags found
No related merge requests found
...@@ -97,9 +97,9 @@ TEST_F(GeoLibOctTree, TestWithEquidistantPoints3d) ...@@ -97,9 +97,9 @@ TEST_F(GeoLibOctTree, TestWithEquidistantPoints3d)
EXPECT_EQ((*ps_ptr.front())[1], ll[1]); EXPECT_EQ((*ps_ptr.front())[1], ll[1]);
EXPECT_EQ((*ps_ptr.front())[2], ll[2]); EXPECT_EQ((*ps_ptr.front())[2], ll[2]);
EXPECT_EQ((*ps_ptr.back())[0], ur[0]); EXPECT_NEAR((*ps_ptr.back())[0], ur[0], (ur[0]-ll[0])*1e-6);
EXPECT_EQ((*ps_ptr.back())[1], ur[1]); EXPECT_NEAR((*ps_ptr.back())[1], ur[1], (ur[1]-ll[1])*1e-6);
EXPECT_EQ((*ps_ptr.back())[2], ur[2]); EXPECT_NEAR((*ps_ptr.back())[2], ur[2], (ur[2]-ll[2])*1e-6);
checkOctTreeChildsNullptr<2>(*oct_tree); checkOctTreeChildsNullptr<2>(*oct_tree);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment