Some of Trick's unit conversions have too many significant digits #557

Fixing force conversions in unit test for too many digits.
This commit is contained in:
Alex Lin 2018-02-09 10:07:53 -06:00
parent 3ac538775b
commit 7a3fc1353e

View File

@ -401,12 +401,12 @@ TEST_F(UnitConversion, NewtonToKiloNewton)
TEST_F(UnitConversion, NewtonToOunce)
{
test_conversion_no_throw("N", "oz", 0.0, (16.0/4.4482216152605), tolerance(-7));
test_conversion_no_throw("N", "oz", 0.0, 3.596944, tolerance(-5));
}
TEST_F(UnitConversion, NewtonToPoundForce)
{
test_conversion_no_throw("N", "lbf", 0.0, (1.0/4.4482216152605), TOL);
test_conversion_no_throw("N", "lbf", 0.0, 0.224809, TOL);
}
//Voltage Conversions