public void TestLargestPalindromeProduct3Digit() { var task = new Task4(); int digitsCount = 3; Assert.AreEqual(906609, task.Run(digitsCount), $"Largest palindrome product of {digitsCount} is incorrect"); }
public void RunsSecondExample() { var run = Task4.Run(2, ParseExample("1 3 1")); Assert.AreEqual("1 2", run); }
public static void Main() { Task4.Run(); }
public void RunsFirstExample() { var run = Task4.Run(3, ParseExample("1 2 3")); Assert.AreEqual("-1 -1", run); }