Commit 7a5db576 authored by Johannes Mey's avatar Johannes Mey
Browse files

fix test to work with amended grammar

parent b5f0e3d7
......@@ -51,8 +51,8 @@ public class SimpleMain {
MappingDefinition mappingDefinition = new MappingDefinition();
mappingDefinition.setID("PoseToPosition");
mappingDefinition.setFrom(TypeDecl.createRef("PBPose"));
mappingDefinition.setTo(TypeDecl.createRef("Position"));
mappingDefinition.setFrom(new SimpleJavaTypeUse("PBPose"));
mappingDefinition.setTo(new SimpleJavaTypeUse("Position"));
mappingDefinition.setContent(" pose.position.x += sqrt(.5 * size.x)\n" +
" MAP round(2)\n" +
" x = x / 100\n" +
......
Markdown is supported
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