def test_name(self):
        #name should return a mathematically correct representation of the unit
        x1=units.PhysicalQuantity('1m')
        x2 = units.PhysicalQuantity('1kg')
        y=1/x1
        self.assertEqual(y.unit.name(),'1/m')
        y=1/x1/x1
        self.assertEqual(y.unit.name(),'1/m**2')
        y=x1**2
        self.assertEqual(y.unit.name(),'m**2')
        y=x2/(x1**2)
        self.assertEqual(y.unit.name(),'kg/m**2')
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.units/openmdao/units/test/test_units.py/test__PhysicalUnit.test_name/original