public void TestParabola()
        {
            var o   = new DichotomyOptimizer(Parabola, start: 1);
            var got = o.GetOptimal();

            Assert.AreEqual(0, got, 1E-04);
        }
        public void TestLeftParabola()
        {
            var o   = new DichotomyOptimizer(LeftParabola);
            var got = o.GetOptimal();

            Assert.AreEqual(-1, got, 1E-04);
        }
        public void TestAreaNotFound()
        {
            var o = new DichotomyOptimizer(Line);

            Assert.Catch <ApplicationException>(() => o.GetOptimal());
        }