Example #1
0
        static void Main(string[] args)
        {
            int[] A      = new int[] { 10, 2, 6, 1, 8, 20 };
            int[] B      = new int[] { 10, 50, 5, 1 };
            int[] C      = new int[] { 1, 1, 2, 3, 5 };
            int[] D      = new int[] { Int32.MaxValue, Int32.MaxValue, Int32.MaxValue };
            var   solver = new TriangleFinder();

            //Console.WriteLine(solver.Solution1(A));
            //Console.WriteLine(solver.Solution1(B));
            Console.WriteLine(solver.Solution1(D));
            Console.WriteLine("Hello World!");
        }
 //setup by seting ne triangle
 public void setUp()
 {
     tf = new TriangleFinder();
 }