def test_add(): assert pytest1.add(7, 3) == 10 assert pytest1.add(7) == 9
def test_add_strings(): result = pytest1.add('Hello', ' World') assert result == 'Hello World' assert type(result) is str assert 'Helo' not in result
def test_add(): assert pytest1.add(7, 3) == 10 assert pytest1.add(7) == 9 print(pytest1.add(7, 3), ' Print Statement Executed')