コード例 #1
0
 public void FractionInput_ShouldReturnCorrectValueForDecimalConversion()
 {
     Assert.AreEqual("15,128", bin4.GetDecimal());
     Assert.AreEqual("15,128", bin5.GetDecimal());
 }
コード例 #2
0
 public void IntegerInput_ShouldReturnCorrectValueForDecimalConversion()
 {
     Assert.AreEqual("10", bin2.GetDecimal());
     Assert.AreEqual("10", bin3.GetDecimal());
 }
コード例 #3
0
 public void ShouldThrowExceptionForSeparatorMissmatchInputInGetDecimalMethod()
 {
     bin9.GetDecimal();
 }
コード例 #4
0
 public void ShouldThrowAnExceptionStringForWhitespaceStringInGetDecimalMethod()
 {
     bin8.GetDecimal();
 }
コード例 #5
0
 public void ShouldThrowAnExceptionForEmptyStringInGetDecimalMethod()
 {
     bin7.GetDecimal();
 }
コード例 #6
0
 public void ShouldThrowAnExceptionForNullStringInGetDecimalMethod()
 {
     bin6.GetDecimal();
 }