public void NullFloatTypeConverter_ConvertCoreWithEmptyString_Converts() { string source = string.Empty; var result = NullFloatTypeConverter.Convert(source); Assert.IsNull(result); }
public void NullFloatTypeConverter_ConvertCoreWithValidString_Converts() { float number = 5; string source = number.ToString(); var result = NullFloatTypeConverter.Convert(source); Assert.IsNotNull(result); Assert.IsTrue(result == number); }