Пример #1
0
 def test_subtract_numbers(self):
     """ Test that two numbers subtract """
     self.assertEqual(sub(5, 3), 2)
Пример #2
0
 def test_subtract_numbers(self):
     """ Test that function will subtract two numbers"""
     self.assertEqual(sub(20, 10), 10)
Пример #3
0
    def test_subtructnum(self):

        '''Subtract two numbers'''
        self.assertEqual(sub(4, 3), 1)
Пример #4
0
 def test_substract_numbers(self):
     """Test that two numbers are added together"""
     self.assertEqual(sub(8, 3), 5)
Пример #5
0
 def test_sub_numbers(self):
     """Test that two numbers substracy"""
     self.assertEqual(sub(2, 14), 12)
Пример #6
0
 def test_subtract_numbers(self):
     """Test that 2 numbers are subtracted """
     self.assertEqual(sub(9, 3),6)
Пример #7
0
 def test_subtract_numbers(self):
     self.assertEqual(sub(5, 2), 3)
Пример #8
0
 def test_sub_nubmer(self):
     """Subtract that two numbers are added together"""
     self.assertEqual(sub(6, 11), 5)