コード例 #1
0
 public void FractionInput_ShouldReturnCorrectValueForOctalConversion()
 {
     Assert.AreEqual("17,101422335136152376", bin4.GetOctal());
     Assert.AreEqual("17,101422335136152376", bin5.GetOctal());
 }
コード例 #2
0
 public void IntegerInput_ShouldReturnCorrectValueForOctalConversion()
 {
     Assert.AreEqual("12", bin2.GetOctal());
     Assert.AreEqual("12", bin3.GetOctal());
 }
コード例 #3
0
 public void ShouldReturnEmptyStringForSeparatorMissmatchInputInGetOctalMethod()
 {
     bin9.GetOctal();
 }
コード例 #4
0
 public void ShouldThrowEceptionForWhitespaceStringInGetOctalMethod()
 {
     bin8.GetOctal();
 }
コード例 #5
0
 public void ShouldThrowAnExceptionForEmptyStringInGetOctalMethod()
 {
     bin7.GetOctal();
 }
コード例 #6
0
 public void ShouldThrowAnExceptionForNullStringInGetOctalMethod()
 {
     bin6.GetOctal();
 }