Skip to content

Commit

Permalink
mouredev#13 - Python
Browse files Browse the repository at this point in the history
JuanDAW37 committed Sep 3, 2024
1 parent 3dc96a2 commit a6cc8f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Roadmap/13 - PRUEBAS UNITARIAS/python/JuanDAW37.py
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ class TestSumar(unittest.TestCase): #Clase obligatoria para que se ejecuten los
#Para crear una función de test, debemos crear una función en la que su nombre debe comenzar por test
def test_sumar(self):
self.assertEqual(sumar(5, 5), 10) #Función assert para testing y pruebas
self.assertEqual(sumar(2, 5), 7)
self.assertEqual(sumar(4, 5), 9)
self.assertEqual(sumar(-5, -5), -10)

def test_sumar_tipos(self):

0 comments on commit a6cc8f0

Please sign in to comment.