Commit 936e2e4f authored by Christoph Richter's avatar Christoph Richter
Browse files

Added parser test

parent f2ba373a
......@@ -163,6 +163,14 @@
<version>${Embedded-MontiArc-Math.version}</version>
</dependency>
<dependency>
<groupId>de.monticore.lang.monticar</groupId>
<artifactId>embedded-montiarc-math</artifactId>
<version>${Embedded-MontiArc-Math.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>de.monticore.lang.monticar</groupId>
<artifactId>embedded-montiarc-math</artifactId>
......
......@@ -2,6 +2,6 @@ package de.monticore.lang;
grammar EmbeddedMontiArcMathOpt extends de.monticore.lang.embeddedmontiarc.EmbeddedMontiArcMath, de.monticore.lang.MathOpt{
BehaviorName = "MathOpt";
EMAMOptCompilationUnit = EMAMCompilationUnit;
}
\ No newline at end of file
package de.monticore.lang.embeddedmontiarcmathopt._parser;
import de.monticore.lang.embeddedmontiarc.embeddedmontiarcmath.ParserTest;
import de.se_rwth.commons.logging.Log;
import org.junit.Before;
import org.junit.BeforeClass;
import static org.junit.Assert.*;
public class EmbeddedMontiArcMathOptParserTest {
public class EmbeddedMontiArcMathOptParserTest extends ParserTest {
@Override
public void setUp() {
super.setUp();
setParser(new EmbeddedMontiArcMathOptParser());
}
}
\ No newline at end of file
......@@ -2,8 +2,8 @@ package test.emam.optimization;
component MinimizePortsTest{
ports in Q u;
out Q y
ports in Q u,
out Q y;
implementation Math{
y = minimize(u)
......
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