message: Corrected test_solver unit test and added LBFGS_OSO to it.
diff: @@ -20,7 +20,7 @@ TEST_CASE( "Solvers testing", "[solvers]" )
  auto state = std::shared_ptr<State>( State_Setup( inputfile ), State_Delete );
  // Solvers to be tested
  - std::vector<int> solvers { Solver_VP, Solver_Heun, Solver_SIB, Solver_Depondt, Solver_RungeKutta4 };
  + std::vector<int> solvers { Solver_LBFGS_OSO, Solver_VP, Solver_Heun, Solver_SIB, Solver_Depondt, Solver_RungeKutta4 };
  // Expected values
  float energy_expected = -5849.69140625f;
  @@ -78,13 +78,13 @@ TEST_CASE( "Solvers testing", "[solvers]" )
  }
  Chain_Image_to_Clipboard(state.get());
  - int noi = 4;
  + int noi = 9;
  for (int i=1; i<noi; ++i)
  Chain_Insert_Image_After(state.get());
  // Solvers to be tested
  - solvers = { Solver_VP, Solver_Heun, Solver_Depondt };
  + solvers = { Solver_LBFGS_OSO, Solver_VP, Solver_Heun, Solver_Depondt };
  // Expected values
  float energy_sp_expected = -5811.5244140625f;
  @@ -113,11 +113,19 @@ TEST_CASE( "Solvers testing", "[solvers]" )
  int i_max = 1;
  float E_max = System_Get_Energy(state.get(), 0);
  + float E_temp = 0;
  for (int i=1; i<noi-1; ++i)
  - if (System_Get_Energy(state.get(), i) > E_max) i_max = i;
  + {
  + E_temp = System_Get_Energy(state.get(), i);
  + if (E_temp > E_max)
  + {
  + i_max = i;
  + E_max = E_temp;
  + }
  + }
  // Save energy and magnetization
  - energy_sp = System_Get_Energy( state.get(), i_max );
  + energy_sp = E_max;
  Quantity_Get_Magnetization( state.get(), magnetization_sp.data(), i_max );
  // Log the name of the solver
  