Matrix_lambda.jav Matrix_lambdaTest.java hinzugefuegt

This commit is contained in:
Pluemicke Martin 2015-09-23 22:33:54 +02:00
parent 02b17b1a8f
commit f2c7d3b6fa
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,5 @@
import de.dhbwstuttgart.typeinference.Menge;
class Matrix extends Menge<Menge<Integer>> {
op = (Matrix m) -> (f) -> f.apply(this, m);
}

View File

@ -0,0 +1,14 @@
package bytecode;
import org.junit.Test;
public class Matrix_lambdaTest {
public final static String rootDirectory = System.getProperty("user.dir")+"/test/bytecode/";
public final static String testFile = "Matrix_lambda.jav";
public final static String outputFile = "Matrix_lambda.class";
@Test
public void test() {
SingleClassTester.compileToBytecode(rootDirectory+testFile, rootDirectory+outputFile);
}
}