def test_factorial_5():
    assert factorial(-2) == -1
def test_factorial_4():
    assert factorial(0) == 1
def test_factorial_2():
    assert factorial(4.2) == -1
def test_factorial_3():
    assert factorial("4") == -1
def test_factorial_1():
    assert factorial(4) == 24