def testObjectType1(self): self.assertTrue(sample.cppTypeIsObjectType('ObjectType')) self.assertFalse(sample.cppTypeIsValueType('ObjectType'))
def testUsersPrimitiveType(self): self.assertFalse(sample.cppTypeIsValueType('Complex')) self.assertFalse(sample.cppTypeIsObjectType('Complex'))
def testContainerType(self): self.assertFalse(sample.cppTypeIsValueType('std::list<int>')) self.assertFalse(sample.cppTypeIsObjectType('std::list<int>'))
def testValueType2(self): self.assertTrue(sample.cppTypeIsValueType('Point*')) self.assertFalse(sample.cppTypeIsObjectType('Point*'))