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