def test_exporting_si_units(self): TestImportUnitAttributes().test_importing_si_units() assert subject.export_unit_attributes() == { "UnitType": "ABSORBEDDOSEUNIT", "Prefix": "EXA", "Name": "AMPERE" }
def test_exporting_conversion_based_units(self): TestImportUnitAttributes().test_importing_conversion_based_units() assert subject.export_unit_attributes() == { "UnitType": "ABSORBEDDOSEUNIT", "Name": "Name", "Dimensions": [1, 2, 3, 4, 5, 6, 7], }
def test_exporting_monetary_units_ifc2x3(self): TestImportUnitAttributes().test_importing_monetary_units_ifc2x3() assert subject.export_unit_attributes() == {"Currency": "USD"}
def test_exporting_derived_units(self): TestImportUnitAttributes().test_importing_derived_units() assert subject.export_unit_attributes() == { "UnitType": "ANGULARVELOCITYUNIT", "UserDefinedType": "UserDefinedType", }