def test_natural(self): assert_equal(3, inputs.natural(3))
def test_natual_string(self): assert_raises(ValueError, lambda: inputs.natural('foo'))
def test_natual_negative(self): assert_raises(ValueError, lambda: inputs.natural(-1))
def type_natural(value): return inputs.natural(value)