def testNonApplicableSelfLoop(self): self.assertEqual(__selflooprule__(self.tree), False) self.assertEqual(len(self.tree), 7)
def testSelfLoop(self): self.assertEqual(__selflooprule__(self.graph), True)