def test_fact() : result = m.fact(3) assert result == 6
def test_fact_float() : with pytest.raises(ValueError) : result = m.fact(8.99)
def test_fact_zero() : result = m.fact(0) assert result == 1
def test_fact_zero_float() : with pytest.raises(ValueError) : result = m.fact(0.25)
def test_fact_neg() : with pytest.raises(ValueError) : result = m.fact(-3)