Пример #1
0
 def test_f5_5(self):
     w = f5(7, 2)
     self.assertEqual(w, [0, 2, 4, 6])
Пример #2
0
 def test_f5_3(self):
     w = f5(2)
     self.assertEqual(w, [0, 1])
Пример #3
0
 def test_f5_4(self):
     w = f5(7)
     self.assertEqual(w, [0, 1, 2, 3, 4, 5, 6])
Пример #4
0
 def test_f5_1(self):
     w = f5(0)
     self.assertEqual(w, [])
Пример #5
0
 def test_f5_2(self):
     w = f5(1)
     self.assertEqual(w, [0])
Пример #6
0
 def test_f5_6(self):
     w = f5(17, 2)
     self.assertEqual(w, [0, 2, 4, 6, 8, 10, 12, 14, 16])
Пример #7
0
 def test_f5_7(self):
     w = f5(17, 5)
     self.assertEqual(w, [0, 5, 10, 15])
Пример #8
0
 def test_f5_5(self):
     b = tdd.f5(7, 2)
     self.assertEqual(b, [0, 2, 4, 6])
Пример #9
0
 def test_f5_6(self):
     b = tdd.f5(17, 2)
     self.assertEqual(b, [0, 2, 4, 6, 8, 10, 12, 14, 16])
Пример #10
0
 def test_f5_4(self):
     b = tdd.f5(7)
     self.assertEqual(b, [0, 1, 2, 3, 4, 5, 6])
Пример #11
0
 def test_f5_3(self):
     b = tdd.f5(2)
     self.assertEqual(b, [0, 1])
Пример #12
0
 def test_f5_2(self):
     b = tdd.f5(1)
     self.assertEqual(b, [0])
Пример #13
0
 def test_f5_1(self):
     b = tdd.f5(0)
     self.assertEqual(b, [])
Пример #14
0
 def test_f5_7(self):
     b = tdd.f5(17, 5)
     self.assertEqual(b, [0, 5, 10, 15])