Exemplo n.º 1
0
 public void TestConvertStringToDoubleWhenStringIsNull()
 {
     Assert.AreEqual(0, ServicesHelper.ConvertStringToDouble(null, false));
 }
Exemplo n.º 2
0
 public void TestConvertStringToDoubleWhenStringIsEmpty()
 {
     Assert.AreEqual(0, ServicesHelper.ConvertStringToDouble(String.Empty, false));
 }
Exemplo n.º 3
0
 public void TestConvertStringToDoubleWhenStringIsEmptyAndStringIsPercentage()
 {
     Assert.AreEqual(0, ServicesHelper.ConvertStringToDouble(String.Empty, true));
 }
Exemplo n.º 4
0
 public void TestConvertStringToDoubleWhenStringIsNullAndStringIsPercentage()
 {
     Assert.AreEqual(0, ServicesHelper.ConvertStringToDouble(null, true));
 }