public void ExceptionTest()
 {
     for (int i = 0; i < 100; i++)
     {
         Assert.DoesNotThrow(() => TriangleCodility.Solution(GenerateArray(i, -2147483648, 2147483647)));
     }
 }
        public void TestOne()
        {
            Assert.AreEqual(-1, TriangleCodility.Solution(null));

            Assert.AreEqual(-1, TriangleCodility.Solution(new int[] { 10, 20, 30 }));
            Assert.AreEqual(23, TriangleCodility.Solution(new int[] { 10, 2, 5, 1, 8, 20 }));
            Assert.AreEqual(25, TriangleCodility.Solution(new int[] { 5, 10, 18, 7, 8, 3 }));


            //Assert.AreEqual(-1, TriangleCodility.Solution(new int[] { 100000000, 100000000, 100000001 }));
        }