public void MultiplicationLongInteger_WhithManyZeros()
        {
            var result = LongIntegerMath.MultiplicationLongInteger(LongInteger.Parse("786543767867865354"), LongInteger.Parse("100000000000000000"));

            Assert.AreEqual(LongInteger.Parse("78654376786786535400000000000000000"), result);

            result = LongIntegerMath.MultiplicationLongInteger(LongInteger.Parse("786543767867865354"), LongInteger.Parse("100000000000000086"));
            Assert.AreEqual(LongInteger.Parse("78654376786786603042764036636420444"), result);

            result = LongIntegerMath.MultiplicationLongInteger(LongInteger.Parse("78654376700000000007865354"), LongInteger.Parse("1000000000000080006"));
            Assert.AreEqual(LongInteger.Parse("78654376700006292829927614200000629275512124"), result);
        }
        public void MultiplicationLongInteger_NegativeByOne()
        {
            var result = LongIntegerMath.MultiplicationLongInteger(LongInteger.Parse("-786543767867865354"), LongInteger.Parse("1"));

            Assert.AreEqual(LongInteger.Parse("-786543767867865354"), result);
        }
        public void MultiplicationLongInteger_ByZero()
        {
            var result = LongIntegerMath.MultiplicationLongInteger(LongInteger.Parse("786543767867865354"), LongInteger.Parse("0"));

            Assert.AreEqual(LongInteger.Parse("0"), result);
        }
        public void MultiplicationLongInteger_HigestNumbersOfDischarge()
        {
            var result = LongIntegerMath.MultiplicationLongInteger(LongInteger.Parse("999999999999999999"), LongInteger.Parse("99999999999999999"));

            Assert.AreEqual(LongInteger.Parse("99999999999999998900000000000000001"), result);
        }
        public void MultiplicationLongInteger_EqualValues()
        {
            var result = LongIntegerMath.MultiplicationLongInteger(LongInteger.Parse("86754358512222876"), LongInteger.Parse("86754358512222876"));

            Assert.AreEqual(LongInteger.Parse("7526318720867297782959490697711376"), result);
        }
        public void MultiplicationLongInteger_DifferentSign_SecondNegative()
        {
            var result = LongIntegerMath.MultiplicationLongInteger(LongInteger.Parse("86754358512222876"), LongInteger.Parse("-287576"));

            Assert.AreEqual(LongInteger.Parse("-24948471403511005788576"), result);
        }
        public void MultiplicationLongInteger_Negatives()
        {
            var result = LongIntegerMath.MultiplicationLongInteger(LongInteger.Parse("-86754358512222876"), LongInteger.Parse("-287576"));

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