def test_gardner(): """ This will compute a gardner """ rhob = gardner(2000) assert np.isclose(rhob, 2073.09494543)
def test_gardner(): rhob = gardner(2000) assert np.testing.assert_allclose(rhob,2073.09494543)
def main(): vp = float(sys.argv[1]) print(gardner(vp)) return
def test_gardner(): rhob = gardner(2000) #2073 #assert abs(rhob - 2073.0949454 ) < EPSILON assert np.testing.assert_allclose(rhob, 2073.0949454)
def test_gardner(): rhob = gardner(2000) #2073 assert np.isclose(rhob, 2073.09494543)