public void TestFindDigitsSolution(string testCase, int expectedOutput) { // arrange Solutions.Implementation.FindDigits.Solution fd = new Solutions.Implementation.FindDigits.Solution(); // act int count = fd.CountDigitsThatDivideExactly(testCase); // assert NUnit.Framework.Assert.AreEqual(count, expectedOutput); }
public void TestFindDigitsSolution(string testCase, int expectedOutput) { // arrange Solutions.Implementation.FindDigits.Solution fd = new Solutions.Implementation.FindDigits.Solution(); // act int count = fd.CountDigitsThatDivideExactly(testCase); // assert NUnit.Framework.Assert.AreEqual(count, expectedOutput); }