示例#1
0
 def test_getParent(self):
   table = SymTable()
   table._parent = SymTable()
   assert table.getParent() is not None
示例#2
0
 def test_hasParent(self):
   table = SymTable()
   table._parent = SymTable()
   assert(table.hasParent())