diff --git a/test_python/test_math3d.py b/test_python/test_math3d.py index e4aee7044a..ef8ba655ad 100644 --- a/test_python/test_math3d.py +++ b/test_python/test_math3d.py @@ -3,7 +3,13 @@ import numpy as np import cffirmware -def test_conversion_to_numpy(): +def test_that_vec_is_converted_to_numpy_array(): + # Fixture v_cf = cffirmware.mkvec(1, 2, 3) - v_np = np.array(v_cf) - assert np.allclose(v_np, np.array([1,2,3])) + + # Test + actual = np.array(v_cf) + + # Assert + expected = np.array([1, 2, 3]) + assert np.allclose(expected, actual)