def treesUnEqual(self, t1, t2): assert t1 != t2 assert t2 != t1 assert not ListTree.equals(t1, t2) assert not ListTree.equals(t2, t1)
def treesEqual(self, t1, t2): assert t1 == t2 assert t2 == t1 assert ListTree.equals(t1, t2) assert ListTree.equals(t2, t1)