Skip to content
Snippets Groups Projects
Commit 0e760bab authored by Andrew Wilson's avatar Andrew Wilson :elephant:
Browse files

BUG: Fix test

parent 527f43a4
No related branches found
No related tags found
No related merge requests found
......@@ -48,9 +48,8 @@ TEST_F(imstkPlaneTest, SetGetWidth)
m_plane.setWidth(400000000);
EXPECT_DOUBLE_EQ(400000000.0, m_plane.getWidth());
// Should not apply
m_plane.setWidth(0.0);
EXPECT_DOUBLE_EQ(400000000.0, m_plane.getWidth());
EXPECT_DOUBLE_EQ(0.0, m_plane.getWidth());
m_plane.setWidth(-5.0);
EXPECT_LT(-5.0, m_plane.getWidth());
......
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