Test anfügen

This commit is contained in:
JanUlrich 2015-10-15 13:56:12 +02:00
parent eb3db718ad
commit e104b2e379
3 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,5 @@
class LambdaTest{
op = (m) -> (f) -> {f.apply(this,m); return this;};
}

View File

@ -0,0 +1,23 @@
package plugindevelopment.TypeInsertTests;
import de.dhbwstuttgart.typeinference.Menge;
import org.junit.Test;
import de.dhbwstuttgart.logger.Logger;
import de.dhbwstuttgart.logger.LoggerConfiguration;
import de.dhbwstuttgart.logger.Section;
public class LambdaTest2_3 {
private static final String TEST_FILE = "LambdaTest2_3.jav";
@Test
public void run(){
Menge<String> mustContain = new Menge<String>();
//mustContain.add("S m");
MultipleTypesInsertTester.test(this.TEST_FILE, mustContain,
new LoggerConfiguration().setOutput(Section.ASSUMPTIONS, System.out));
}
}