Exemplo n.º 1
0
 def test_2(self):
     """Test the sample_function with a single argument."""
     self.assertEqual(sample_function(4), 8)
Exemplo n.º 2
0
 def test_1(self):
     """Test the sample_function with two arguments."""
     self.assertEqual(sample_function(4, 4), 8)