def assert_orthogonal_test(): for s in directions_sequence(): axis = any_orthogonal_direction(s) angle = np.pi / 2 R = rotation_from_axis_angle(axis, angle) s2 = np.dot(R, s) assert_orthogonal(s, s2)
def any_orthogonal_direction_test(): for s in directions_sequence(): for i in range(5): #@UnusedVariable z = any_orthogonal_direction(s) assert_orthogonal(z, s)
def any_orthogonal_direction_test(): for s in directions_sequence(): for i in range(5): # @UnusedVariable z = any_orthogonal_direction(s) assert_orthogonal(z, s)