def test_fromCartesian(self): """MageGroup fromCartesian should return a new MageGroup""" point = MagePoint([.1,.2,.3]) l = MageList([point]*5,Color='red') m = MageGroup([l],Radius=0.02,Subgroup=True) mg = MageGroup([m]) res = mg.toCartesian().fromCartesian() self.assertEqual(str(mg),str(res))