Skip to content

Commit

Permalink
[transmission_interface] relaxes float tolerance in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
taDachs committed Dec 19, 2023
1 parent 89c8658 commit 0eb007b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ using transmission_interface::DifferentialTransmission;
using transmission_interface::Exception;
using transmission_interface::JointHandle;
// Floating-point value comparison threshold
const double EPS = 1e-6;
const double EPS = 1e-5;

TEST(PreconditionsTest, ExceptionThrowing)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ using transmission_interface::FourBarLinkageTransmission;
using transmission_interface::JointHandle;

// Floating-point value comparison threshold
const double EPS = 1e-6;
const double EPS = 1e-5;

TEST(PreconditionsTest, ExceptionThrowing)
{
Expand Down
2 changes: 1 addition & 1 deletion transmission_interface/test/simple_transmission_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ using transmission_interface::JointHandle;
using transmission_interface::SimpleTransmission;

// Floating-point value comparison threshold
const double EPS = 1e-6;
const double EPS = 1e-5;

TEST(PreconditionsTest, ExceptionThrownWithInvalidParameters)
{
Expand Down

0 comments on commit 0eb007b

Please sign in to comment.