Пример #1
0
    def test2(self):
        sels = menu.parse_input_string("1 2 3 4")
        cp = color_print.ColorPrint()

        for sel in sels:
            cp.printout(sel + '\n', cp.GREEN)
        self.assertEqual(len(sels),4)
Пример #2
0
 def test1(self):
     sels = menu.parse_input_string("1,2,3,4")
     self.assertEqual(len(sels),4)