public void IsValid([Values("0","123","12345.6")] string value) { var v = new IsNumericAttribute(); Assert.That(v.IsValid(value, null)); }
public void IsNotValid([Values("a", "123.,", "12345...6")] string value) { var v = new IsNumericAttribute(); Assert.That(!v.IsValid(value, null)); }