public void TestGetFloatWithIsDBNullCheck() { var reader = new ListDataReader <Student>(_Students); reader.Read(); var col = "Float2"; Assert.Equal(33.3F, reader.GetFloatWithNull(col).Value); reader.Read(); Assert.False(reader.GetFloatWithNull(col).HasValue); reader.Read(); Assert.Equal(33.43F, reader.GetFloatWithNull(col).Value); }