def test_add4():
    """ test case to validate two positive numbers"""
    assert add(-10, -5) == -15
def ttest_typeerror1():
    """ test case to check if we can handle non number input"""
    with pytest.raises(TypeError):
        add('a', 5)
def test_add(x, y, ans):
    """ test case to validate two positive numbers"""
    assert add(x, y) == ans