public void GetNumericValue_NotValidValue_ReturnsNull() { UInt64Filter filter = new UInt64Filter(); filter.Value = "-1"; Assert.Null(filter.GetNumericValue()); }
public void GetNumericValue_OnNotValidValueReturnsNull() { UInt64Filter <GridModel> filter = new UInt64Filter <GridModel>(); filter.Value = "-1"; Assert.IsNull(filter.GetNumericValue()); }
public void GetNumericValue_ParsesValue() { UInt64Filter filter = new UInt64Filter(); filter.Value = "18446744073709551615"; Object actual = filter.GetNumericValue(); UInt64 expected = 18446744073709551615; Assert.Equal(expected, actual); }