def test_get_distance_from_fixed_angle(self): # distance between two angles is found correctly angle_1 = [1, 1, 3] angle_2 = [1, 1, 4] implemented = _distance_from_fixed_angle([angle_1], angle_2) testing = get_distance_between_two_angles_longform(angle_1, angle_2) assert np.allclose(implemented, testing) assert np.allclose(implemented, 1)
def test_get_distance_from_fixed_angle(): angle_1 = [1, 1, 3] angle_2 = [1, 2, 4] implemented = _distance_from_fixed_angle(angle_1, angle_2) testing = get_distance_between_two_angles_longform(angle_1, angle_2) assert np.allclose(implemented, testing)