Пример #1
0
 def test_creation_arg_load(self):
     test_program = "this is just a test"
     p = programreader(test_program)
     self.assertFalse(p.finished)
     self.assertEqual(19, p.length)
Пример #2
0
 def setUp(self):
     self.programreader = programreader()