public void FractionInput_ShouldReturnCorrectValueForBinaryConversion()
 {
     Assert.AreEqual("1111,00100000110001001001101110100101111000110101001111111", dec4.GetBinary());
     Assert.AreEqual("1111,00100000110001001001101110100101111000110101001111111", dec5.GetBinary());
 }
 public void IntegerInput_ShouldReturnCorrectValueForBinaryConversion()
 {
     Assert.AreEqual("1010", dec1.GetBinary());
     Assert.AreEqual("1010", dec2.GetBinary());
     Assert.AreEqual("1010", dec3.GetBinary());
 }
 public void ShouldThrowExceptionForSeparatorMissmatchInputInGetBinaryMethod()
 {
     dec9.GetBinary();
 }
 public void ShouldhrowAnExceptionForWhitespaceStringInGetBinaryMethod()
 {
     dec8.GetBinary();
 }
 public void ShouldThrowAnExceptionForEmptyStringInGetBinaryMethod()
 {
     dec7.GetBinary();
 }
 public void ShouldThrowAnExceptionForNullStringInGetBinaryMethod()
 {
     dec6.GetBinary();
 }