def test_default(self): assert inputs.natural(3) == 3
def test_string(self): with pytest.raises(ValueError): inputs.natural('foo')
def test_negative(self): with pytest.raises(ValueError): inputs.natural(-1)