public void GetNumericValue_NotValidValue_ReturnsNull() { SByteFilter filter = new SByteFilter(); filter.Value = "128"; Assert.Null(filter.GetNumericValue()); }
public void GetNumericValue_OnNotValidValueReturnsNull() { SByteFilter filter = new SByteFilter(); filter.Value = "128"; Assert.Null(filter.GetNumericValue()); }
public void GetNumericValue_ParsesValue() { SByteFilter filter = new SByteFilter(); filter.Value = "-128"; Object actual = filter.GetNumericValue(); SByte expected = -128; Assert.Equal(expected, actual); }
public void GetNumericValue_ParsesValue() { SByteFilter <GridModel> filter = new SByteFilter <GridModel>(); filter.Value = "-128"; Object actual = filter.GetNumericValue(); Object expected = -128; Assert.AreEqual(expected, actual); }