Пример #1
0
 def test_generator(self):
     self.assertEqual(frogress.get_iterable_size(gen_range(3)), None)
Пример #2
0
 def test_list(self):
     self.assertEqual(frogress.get_iterable_size([1, 2, 3]), 3)