Skip to content

Commit

Permalink
Merge pull request #31 from robustify/master
Browse files Browse the repository at this point in the history
Closes #30 - Loosened tolerance on unit test EXPECT_NEAR checks
  • Loading branch information
josephduchesne authored Oct 15, 2017
2 parents a3e7c48 + d94c29d commit 98f6f7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flatland_server/test/service_manager_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,9 @@ TEST_F(ServiceManagerTest, move_model) {

World* w = sim_man->world_;
EXPECT_NEAR(5.5, w->models_[0]->bodies_[0]->physics_body_->GetPosition().x,
1e-4);
1e-2);
EXPECT_NEAR(9.9, w->models_[0]->bodies_[0]->physics_body_->GetPosition().y,
1e-4);
1e-2);
EXPECT_NEAR(0.77, w->models_[0]->bodies_[0]->physics_body_->GetAngle(), 1e-2);
}

Expand Down

0 comments on commit 98f6f7b

Please sign in to comment.