Esempio n. 1
0
 def test_p22(self):
     w = wroc.f5(17, 2)
     self.assertEqual(w, [0, 2, 4, 6, 8, 10, 12, 14, 16])
Esempio n. 2
0
 def test_p23(self):
     w = wroc.f5(17, 5)
     self.assertEqual(w, [0, 5, 10, 15])
Esempio n. 3
0
 def test_p21(self):
     w = wroc.f5(7, 2)
     self.assertEqual(w, [0, 2, 4, 6])
Esempio n. 4
0
 def test_p20(self):
     w = wroc.f5(7)
     self.assertEqual(w, [0, 1, 2, 3, 4, 5, 6])
Esempio n. 5
0
 def test_p19(self):
     w = wroc.f5(2)
     self.assertEqual(w, [0, 1])
Esempio n. 6
0
 def test_p18(self):
     w = wroc.f5(1)
     self.assertEqual(w, [0])
Esempio n. 7
0
 def test_p17(self):
     w = wroc.f5(0)
     self.assertEqual(w, [])