def testInvalidByteOrderRaisesTypeError(): with pytest.raises(ValueError): types.AsamBaseType('#')
def testBigEndian(): assert isinstance(types.AsamBaseType(types.MOTOROLA), types.AsamBaseType)
def testBigEndian(self): self.assertTrue( isinstance(types.AsamBaseType(types.MOTOROLA), types.AsamBaseType))
def testLittleEndian(): assert isinstance(types.AsamBaseType(types.INTEL), types.AsamBaseType)
def testLittleEndian(self): self.assertTrue( isinstance(types.AsamBaseType(types.INTEL), types.AsamBaseType))