Mercurial > lcfOS
comparison test/testgraph.py @ 301:6753763d3bec
merge codegen into ppci package
author | Windel Bouwman |
---|---|
date | Thu, 05 Dec 2013 17:02:38 +0100 |
parents | 9417caea2eb3 |
children | e9fe6988497c |
comparison
equal
deleted
inserted
replaced
300:158068af716c | 301:6753763d3bec |
---|---|
1 #!/usr/bin/python | 1 #!/usr/bin/python |
2 | 2 |
3 import unittest | 3 import unittest |
4 from codegen.graph import Graph, Node | 4 from ppci.codegen.graph import Graph, Node |
5 from codegen.interferencegraph import InterferenceGraph | 5 from ppci.codegen.interferencegraph import InterferenceGraph |
6 from codegen.flowgraph import FlowGraph | 6 from ppci.codegen.flowgraph import FlowGraph |
7 import ir | 7 from ppci import ir |
8 from irmach import AbstractInstruction as AI | 8 from ppci.irmach import AbstractInstruction as AI |
9 from target import Nop | 9 from target import Nop |
10 | 10 |
11 | 11 |
12 class GraphTestCase(unittest.TestCase): | 12 class GraphTestCase(unittest.TestCase): |
13 def testEdge(self): | 13 def testEdge(self): |