Commit 6605aa88 authored by Christoph Richter's avatar Christoph Richter
Browse files

Added stream test

parent d17feb29
......@@ -23,10 +23,11 @@ public class TrajectoryControllerTest extends BasicGenerationTest {
GeneratorEMAMOpt2CPP generator = new GeneratorEMAMOpt2CPP();
generator.setGenerateAutopilotAdapter(true);
generator.setGenerateServerWrapper(false);
generator.setGenerateCMake(true);
generator.setGenerationTargetPath("./target/generated-sources-cpp/TrajectoryControllerMPC/src/");
generator.setPreferedSolver(Solver.Ipopt);
generator.getSolverOptions().put("String derivative_test", "none");
generator.getSolverOptions().put("Integer print_level", "0");
generator.getSolverOptions().put("Integer print_level", "3");
generator.getSolverOptions().put("Numeric tol", "0.01");
generator.getSolverOptions().put("Integer max_iter", "50");
List<File> files = generator.generate(componentInstanceSymbol, symtab);
......
package de.rwth.monticar.optimization;
stream ScalarMaximizationTest for ScalarMaximizationTest{
xOut: 0 +/- 0.0001;
yOut: 42 +/- 0.0001;
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment