public void NoGradientTest() { var target = new BoundedBroydenFletcherGoldfarbShanno(2) { Function = (x) => 0.0 }; target.Minimize(); }