예제 #1
0
 def test_factorial_de_um(self):
     self.assertEqual(1, factorial(1))
예제 #2
0
 def test_factorial_de_zero(self):
     self.assertEqual(1, factorial(0))
예제 #3
0
 def test_factorial_de_oito(self):
     self.assertEqual(40320, factorial(8))
예제 #4
0
 def test_factorial_de_um(self):
     self.assertEqual(1, factorial(1))
예제 #5
0
 def test_factorial_de_zero(self):
     self.assertEqual(1, factorial(0))
예제 #6
0
 def test_factorial_de_oito(self):
     self.assertEqual(40320, factorial(8))