def test_combinatoria_numeros_negativos(self):
     with self.assertRaises(AssertionError):
         convinatoria(-3, -3)
 def test_combinatoria_numeros_reles(self):
     with self.assertRaises(AssertionError):
         convinatoria(4.2, 2.1)
 def test_combinatoria_numeros_iguales(self):
     assert convinatoria(3, 3) == 1
 def test_combinatoria_mayor_menor(self):
     with self.assertRaises(AssertionError):
         convinatoria(4, 2)
 def test_combinatoria_menor_mayor(self):
     assert convinatoria(1, 3) == 3
    def test_permutacion_convinacion_numeros_iguales(self):

        assert permutacion(int(convinatoria(5, 5))) == 1
 def test_combinatoria_factorial_menor_factorial_mayor(self):
     assert convinatoria(factorial(0),factorial(2))==2
 def test_factorial_convinatoria_mayor_menor(self):
     with self.assertRaises(AssertionError):
         factorial(convinatoria(5, 4))