public void ConvertNumeralSystem_OutOfRangeTest(int inputNumber, int numeralSystemSize) { Assert.Throws <ArgumentOutOfRangeException>(() => NumberConverter.ConvertNumeralSystem(inputNumber, numeralSystemSize)); }
public void ConvertNumeralSystem_Test(string correctAnswer, int inputNumber, int numeralSystemSize) { Assert.AreEqual(correctAnswer, NumberConverter.ConvertNumeralSystem(inputNumber, numeralSystemSize)); }