示例#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)