Пример #1
0
 def test_factorial_1(self):
     self.assertEqual(factorial(1), 1)
Пример #2
0
 def test_factorial_4(self):
     self.assertEqual(factorial(4), 24)
Пример #3
0
 def test_factorial_0(self):
     self.assertEqual(factorial(0), 1)
Пример #4
0
 def test_factorial_2(self):
     self.assertEqual(factorial(2), 2)
Пример #5
0
 def test_factorial_3(self):
     self.assertEqual(factorial(3), 6)
Пример #6
0
 def test_factorial_0(self):
     self.assertEqual(factorial(0), 1)
Пример #7
0
 def test_factorial_4(self):
     self.assertEqual(factorial(4), 24)
Пример #8
0
 def test_factorial_3(self):
     self.assertEqual(factorial(3), 6)
Пример #9
0
 def test_factorial_2(self):
     self.assertEqual(factorial(2), 2)
Пример #10
0
 def test_factorial_1(self):
     self.assertEqual(factorial(1), 1)