diff options
Diffstat (limited to '23/test.py')
-rwxr-xr-x | 23/test.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/23/test.py b/23/test.py new file mode 100755 index 0000000..19dad35 --- /dev/null +++ b/23/test.py @@ -0,0 +1,22 @@ +#!/usr/bin/python + +import unittest + +import main + + + +class ExamplesPart1(unittest.TestCase): + def test_example1(self): + prog = [ + "inc b", + "jio b, +2", + "tpl b", + "inc b" + ] + self.assertEqual(main.solve_partn(1, prog), 2) + + + +if __name__ == "__main__": + unittest.main() |