def test_a_shearing_transformation_moves_z_in_proportion_to_y(): transform = transformations.shearing(0, 0, 0, 0, 0, 1) assert ((point(2, 3, 7) == transform(point(2, 3, 4))).all())
def test_a_shearing_transformation_moves_y_in_proportion_to_z(): transform = transformations.shearing(0, 0, 0, 1, 0, 0) assert ((point(2, 7, 4) == transform(point(2, 3, 4))).all())