public void IntegerInput_ShouldReturnCorrectValueForOctalConversion() { Assert.AreEqual("12", dec1.GetOctal()); Assert.AreEqual("12", dec2.GetOctal()); Assert.AreEqual("12", dec3.GetOctal()); }
public void ShouldThrowExceptionForSeparatorMissmatchInputInGetOctalMethod() { dec9.GetOctal(); }
public void ShouldThrowAnExceptionForWhitespaceStringInGetOctalMethod() { dec8.GetOctal(); }
public void ShouldThrowAnExceptionForEmptyStringInGetOctalMethod() { dec7.GetOctal(); }
public void ShouldThrowAnExceptionForNullStringInGetOctalMethod() { dec6.GetOctal(); }
public void FractionInput_ShouldReturnCorrectValueForOctalConversion() { Assert.AreEqual("17,101422335136152376", dec4.GetOctal()); Assert.AreEqual("17,101422335136152376", dec5.GetOctal()); }