Commit 91c7df06 authored by Mian Asbat ahmad's avatar Mian Asbat ahmad

Issue #16: rounding value error corrected in test case

parent 8ed84472
......@@ -45,12 +45,12 @@ def test_return_value():
matrices4x4 = matrices.reshape(numberOf4x4Matrices, 4, 4)
x_values, residual_error =p.pivot_calibration(matrices4x4)
assert 1.838 == round(residual_error, 3)
assert -14.476 == round(x_values[0, 0])
assert 395.143 == round(x_values[1, 0])
assert -7.558 == round(x_values[2, 0])
assert -805.284 == round(x_values[3, 0])
assert -85.447 == round(x_values[4, 0])
assert -2112.066 == round(x_values[5, 0])
assert -14.476 == round(x_values[0, 0], 3)
assert 395.143 == round(x_values[1, 0], 3)
assert -7.558 == round(x_values[2, 0], 3)
assert -805.284 == round(x_values[3, 0], 3)
assert -85.447 == round(x_values[4, 0], 3)
assert -2112.066 == round(x_values[5, 0], 3)
def test_rank_if_condition():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment