def test_truediv__current(self): assert measures.ElectricPower("24 W") / measures.Current( "4 A") == measures.Voltage("6 V")
def test_mul(self): assert measures.Current("2 A") * measures.Voltage( "12 V") == measures.ElectricPower("24 W")
def test_mul__super(self): assert measures.Voltage("6 V") * 2 == measures.Voltage("12 V")