def METHOD_NAME(self):
    xy_placement = BluemiraPlacement([0, 0, 0], [0, 0, 1], 0.0)
    matrix = xy_placement.to_matrix()
    xy2_placement = BluemiraPlacement.from_matrix(matrix)
    self._check_placements_equal(xy_placement, xy2_placement)
    for _ in range(10):
        placement = BluemiraPlacement(
            np.random.rand(3), np.random.rand(3), np.random.rand()
        )
        matrix = placement.to_matrix()
        matrix[:3, :3] *= 2  # Test that it gets normalised
        placement2 = BluemiraPlacement.from_matrix(matrix)
        self._check_placements_equal(placement, placement2)
        assert np.allclose(placement.axis, placement2.axis)