Пример #1
0
 def test_small_one_worker(self):
     pipeline(10, 1)
     self.assertTrue(True)
Пример #2
0
 def test_large(self):
     pipeline(100000, 1000)
     self.assertTrue(True)
Пример #3
0
 def test_zero(self):
     with self.assertRaises(AssertionError):
         pipeline(0, 0)
Пример #4
0
 def test_medium(self):
     pipeline(1000, 100)
     self.assertTrue(True)
Пример #5
0
 def test_small_two_workers(self):
     pipeline(10, 2)
     self.assertTrue(True)