예제 #1
0
        public void ExtraLongFactorialsTest_Case2()
        {
            int n = 25;

            var actual = new ExamplesOfHackerRank.Examples.ExtraLongFactorials();

            actual.CalculateFactorials(n);

            var expected = "15511210043330985984000000";

            Assert.AreEqual(expected, actual.Result);
        }
예제 #2
0
        public void ExtraLongFactorialsTest_Case1()
        {
            int n = 3;

            var actual = new ExamplesOfHackerRank.Examples.ExtraLongFactorials();

            actual.CalculateFactorials(n);

            var expected = "6";

            Assert.AreEqual(expected, actual.Result);
        }