Exemple #1
0
 def test_f3_4(self):
     w = f3(random.choice(range(4, 1000)))
     self.assertEqual(w, 'other')
Exemple #2
0
 def test_f3_2(self):
     w = f3(2)
     self.assertEqual(w, 'dwa')
Exemple #3
0
 def test_f3_3(self):
     w = f3(3)
     self.assertEqual(w, 'trzy')
Exemple #4
0
 def test_f3_1(self):
     w = f3(1)
     self.assertEqual(w, 'jeden')
 def test_f3_4(self):
     b = tdd.f3(random.choice(range(4, 1000)))
     self.assertEqual(b, "other")
 def test_f3_3(self):
     b = tdd.f3(3)
     self.assertEqual(b, "trzy")
 def test_f3_2(self):
     b = tdd.f3(2)
     self.assertEqual(b, "dwa")
 def test_f3_1(self):
     b = tdd.f3(1)
     self.assertEqual(b, "jeden")