Ejemplo n.º 1
0
 def test_substract_numbers(self):
     """Test that values are substracted and returned"""
     self.assertEqual(substract(1, 7), 6)
Ejemplo n.º 2
0
 def test_substract_number(self):
     """Test that two numbers are substracted and returned"""
     self.assertEqual(substract(5, 11), 6)
Ejemplo n.º 3
0
 def test_substract_numbers(self):
     """Test that values are substracted and returned"""
     self.assertEqual(substract(5,11),6)
     """docker-compose run app sh -c "python manage.py test && flake8"""
Ejemplo n.º 4
0
 def test_substract_numbers(self):
     """Test that two numbers substracted properly."""
     self.assertEqual(substract(3, 10), 7)
Ejemplo n.º 5
0
 def test_substract_number(self):
     """Test that two numbers are substracted"""
     self.assertEqual(substract(3, 8), -5)
Ejemplo n.º 6
0
 def test_subtract_numbers(self):
     """
     This will substract two numbers and return the result
     """
     self.assertEqual(substract(8, 3), 5)
Ejemplo n.º 7
0
 def test_substract_numbers(self):
     """test values are substracted and returned"""
     self.assertEqual(substract(5, 11), 6)
Ejemplo n.º 8
0
 def test_substract_numbers(self):
     self.assertEqual(substract(5, 11), 6)
Ejemplo n.º 9
0
 def test_substract_numbers(self):
     """Test that tow numbers are added together"""
     self.assertEqual(substract(3, 8), 5)
Ejemplo n.º 10
0
 def test_substract_numbers(self):
     """ Test 2 numbs are substracted successfully """
     self.assertEqual(substract(5, 11), 6)
Ejemplo n.º 11
0
 def test_substract(self):
     """Test that values are substracted and returned"""
     self.assertEqual(substract(5, 11), 6)
Ejemplo n.º 12
0
 def test_substract_numbers(self):
     self.assertEqual(substract(8, 3), 5)