def METHOD_NAME(self):
    lattice = Lattice.from_parameters(5, 10, 5, 90, 110, 90)
    moment = [1, 0, 2]
    magmom = Magmom.from_moment_relative_to_crystal_axes(moment, lattice)
    assert_allclose(magmom.moment, [0.93969262, 0.0, 1.65797986])
    assert_allclose(magmom.get_moment_relative_to_crystal_axes(lattice), moment)