Skip to content
Snippets Groups Projects
Commit 7a5db576 authored by Johannes Mey's avatar Johannes Mey
Browse files

fix test to work with amended grammar

parent b5f0e3d7
No related branches found
No related tags found
No related merge requests found
...@@ -51,8 +51,8 @@ public class SimpleMain { ...@@ -51,8 +51,8 @@ public class SimpleMain {
MappingDefinition mappingDefinition = new MappingDefinition(); MappingDefinition mappingDefinition = new MappingDefinition();
mappingDefinition.setID("PoseToPosition"); mappingDefinition.setID("PoseToPosition");
mappingDefinition.setFrom(TypeDecl.createRef("PBPose")); mappingDefinition.setFrom(new SimpleJavaTypeUse("PBPose"));
mappingDefinition.setTo(TypeDecl.createRef("Position")); mappingDefinition.setTo(new SimpleJavaTypeUse("Position"));
mappingDefinition.setContent(" pose.position.x += sqrt(.5 * size.x)\n" + mappingDefinition.setContent(" pose.position.x += sqrt(.5 * size.x)\n" +
" MAP round(2)\n" + " MAP round(2)\n" +
" x = x / 100\n" + " x = x / 100\n" +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment