public void IntConvertTest_AcceptsEmptyNumber_ThrowsException(string number, int basis) { Notation notation = new Notation(basis); Assert.Throws <ArgumentNullException>(() => StringExtension.ToDecimalConverter(number, notation)); }
public int ToDecimalConverterTest(string number, int basis) { Notation notation = new Notation(basis); return(StringExtension.ToDecimalConverter(number, notation)); }