comparison test/testgraph.py @ 290:7b38782ed496

File moves
author Windel Bouwman
date Sun, 24 Nov 2013 11:24:15 +0100
parents 05184b95fa16
children 9417caea2eb3
comparison
equal deleted inserted replaced
289:bd2593de3ff8 290:7b38782ed496
38 self.assertEqual(1, n1.Degree) 38 self.assertEqual(1, n1.Degree)
39 39
40 40
41 class DigraphTestCase(unittest.TestCase): 41 class DigraphTestCase(unittest.TestCase):
42 pass 42 pass
43 43
44 44
45 class InterferenceGraphTestCase(unittest.TestCase): 45 class InterferenceGraphTestCase(unittest.TestCase):
46 def testNormalUse(self): 46 def testNormalUse(self):
47 t1 = ir.Temp('t1') 47 t1 = ir.Temp('t1')
48 t2 = ir.Temp('t2') 48 t2 = ir.Temp('t2')
76 self.assertIs(ig.getNode(t4), ig.getNode(t3)) 76 self.assertIs(ig.getNode(t4), ig.getNode(t3))
77 77
78 78
79 if __name__ == '__main__': 79 if __name__ == '__main__':
80 unittest.main() 80 unittest.main()
81