public void Factorial_Negative()
 {
     var result = LongIntegerMath.Factorial(LongInteger.Parse("-78637836786"));
 }
        public void Factorial_One()
        {
            var result = LongIntegerMath.Factorial(LongInteger.Parse("1"));

            Assert.AreEqual(LongInteger.Parse("1"), result);
        }
        public void Factorial_SmallValue()
        {
            var result = LongIntegerMath.Factorial(LongInteger.Parse("8"));

            Assert.AreEqual(LongInteger.Parse("40320"), result);
        }
        public void Factorial()
        {
            var result = LongIntegerMath.Factorial(LongInteger.Parse("125"));

            Assert.AreEqual(LongInteger.Parse("188267717688892609974376770249160085759540364871492425887598231508353156331613598866882932889495923133646405445930057740630161919341380597818883457558547055524326375565007131770880000000000000000000000000000000"), result);
        }