Commit bb1f3ba0 authored by Jayke Meijer's avatar Jayke Meijer

Added unittests for move-instruction.

parent 4a51527e
......@@ -28,7 +28,7 @@ class TestOptimize(unittest.TestCase):
optimize_global(block)
self.assertEquals(block.statements, [foo, move, bar])
def test_optimize_global_movinst(self):
def test_optimize_global_movinst_true(self):
foo = S('command', 'foo')
bar = S('command', 'bar')
......@@ -41,7 +41,7 @@ class TestOptimize(unittest.TestCase):
S('command', 'addu', '$regA', '$regB', 2),
bar])
def test_optimize_global_movinst(self):
def test_optimize_global_movinst_false(self):
foo = S('command', 'foo')
bar = S('command', 'bar')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment