def testEnds(self): cc = Chaincode([0, 0], "2460") # Can I test more than one path? How? end = [0, 0] self.failUnless(cc.matchend(end))
def testEndsFalse(self): cc = Chaincode([0, 0], "24460") end = [0, 0] self.failIf(cc.matchend(end))
def testEnds(self): cc = Chaincode([0, 0], "2460") # Can I test more than one path? How? end = [0, 0] self.assertTrue(cc.matchend(end))
def testEndsFalse(self): cc = Chaincode([0, 0], "24460") end = [0, 0] self.assertFalse(cc.matchend(end))