public void Calculate_The_Largest_Reoccuring_Cycle_Under_1000() { var problem = new Problem_026(); var result = problem.CalculateLargestReoccuringCycle(1000); Assert.That(result, Is.EqualTo(982)); }
public void RunProblem() { Stopwatch stopWatch = new Stopwatch(); stopWatch.Start(); Problem_026.Run(); stopWatch.Stop(); Debug.WriteLine("The answer was found in " + stopWatch.Elapsed); }