def test_enlarge(): # name this function anything, but hopefully something related to the name of the function it is testing result = enlarge(3) assert result == 300
def test_enlarge(): # note the function name is prefixed with "test_" result = enlarge(3) # directly invoke the function we want to test assert result == 3000000 # describe expectations for desired behavior
def test_enlarge(): result = enlarge(3) assert result == 300
def test_enlarge(): # note the function name is prefixed with "test_" result = enlarge(3) assert result == 9