Exemple #1
0
 def test_substract_numbers(self):
     """Test that values are substracted and returned"""
     self.assertEqual(substract(1, 7), 6)
Exemple #2
0
 def test_substract_number(self):
     """Test that two numbers are substracted and returned"""
     self.assertEqual(substract(5, 11), 6)
Exemple #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"""
 def test_substract_numbers(self):
     """Test that two numbers substracted properly."""
     self.assertEqual(substract(3, 10), 7)
Exemple #5
0
 def test_substract_number(self):
     """Test that two numbers are substracted"""
     self.assertEqual(substract(3, 8), -5)
Exemple #6
0
 def test_subtract_numbers(self):
     """
     This will substract two numbers and return the result
     """
     self.assertEqual(substract(8, 3), 5)
 def test_substract_numbers(self):
     """test values are substracted and returned"""
     self.assertEqual(substract(5, 11), 6)
Exemple #8
0
 def test_substract_numbers(self):
     self.assertEqual(substract(5, 11), 6)
Exemple #9
0
 def test_substract_numbers(self):
     """Test that tow numbers are added together"""
     self.assertEqual(substract(3, 8), 5)
Exemple #10
0
 def test_substract_numbers(self):
     """ Test 2 numbs are substracted successfully """
     self.assertEqual(substract(5, 11), 6)
Exemple #11
0
 def test_substract(self):
     """Test that values are substracted and returned"""
     self.assertEqual(substract(5, 11), 6)
Exemple #12
0
 def test_substract_numbers(self):
     self.assertEqual(substract(8, 3), 5)