school/cs235/lab04/shunting/test_shunt.py

11 lines
198 B
Python
Raw Normal View History

2016-04-06 20:46:10 -07:00
import unittest
from shunting import shunt
class ShuntTest(unittest.TestCase):
def test_simple_add(self):
o, s = shunt(['4', '+', '3'])
self.assertEquals(o, ['4', '3', '+'])