public void TestConvertStringToDoubleWhenStringIsNull() { Assert.AreEqual(0, ServicesHelper.ConvertStringToDouble(null, false)); }
public void TestConvertStringToDoubleWhenStringIsEmpty() { Assert.AreEqual(0, ServicesHelper.ConvertStringToDouble(String.Empty, false)); }
public void TestConvertStringToDoubleWhenStringIsEmptyAndStringIsPercentage() { Assert.AreEqual(0, ServicesHelper.ConvertStringToDouble(String.Empty, true)); }
public void TestConvertStringToDoubleWhenStringIsNullAndStringIsPercentage() { Assert.AreEqual(0, ServicesHelper.ConvertStringToDouble(null, true)); }