def testMacroDefinitionDict_03(self): self.assertEqual({'FOO(n)' : 'n * BAR\n'}, Cpp.macroDefinitionDict(['FOO(n)=n * BAR']))
def testMacroDefinitionDict_01(self): self.assertEqual({'FOO' : '\n'}, Cpp.macroDefinitionDict(['FOO']))
def testMacroDefinitionDict_02(self): self.assertEqual({'FOO' : 'BAR\n'}, Cpp.macroDefinitionDict(['FOO=BAR']))
def testMacroDefinitionDict_00(self): self.assertEqual({}, Cpp.macroDefinitionDict([]))