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