Example #1
0
        public void TestLargestProductInASeries13Digits()
        {
            var task  = new Task8();
            int count = 13;

            Assert.AreEqual(23514624000, task.Run(count), $"Largest product of {count} digets in a series is incorrect");
        }
Example #2
0
        public void TestLargestProductInASeries4Digits()
        {
            var task  = new Task8();
            int count = 4;

            Assert.AreEqual(5832, task.Run(count), $"Largest product of {count} digets in a series is incorrect");
        }