mirror of
https://github.com/nasa/trick.git
synced 2025-02-20 09:16:20 +00:00
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:
parent
3ac538775b
commit
7a3fc1353e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user