public void TestDigit(int num, int expectedValue) { var strProblems = new StringProblems(); var actualValue = strProblems.digit(num); Assert.Equal <int>(expectedValue, actualValue); }