Anpassung am manuellen Test OLFunTest.java.

This commit is contained in:
Etienne Zink 2022-04-20 15:26:50 +02:00
parent 59c5e48201
commit 6262c9434c
2 changed files with 6 additions and 5 deletions

View File

@ -72,7 +72,7 @@ public class OLFun2Test {
assertNotNull(m);
}
@AfterClass
//@AfterClass
public static void cleanUp() {
TestCleanUp.cleanUpDirectory(new File(generatedByteCodeDirectory), f -> f.getName().contains(".class"));
}

View File

@ -1,9 +1,10 @@
public class OLFunTest{
public static void main(String[] args){
var olFun2 = new OLFun2();
olFun2.m((Integer x) -> x);
olFun2.m((Integer x) -> (Double) Double.valueOf(x));
olFun2.m((Double x) -> x);
olFun2.m((Double x) -> x.intValue());
Integer i = olFun2.m((Integer x) -> x);
i = olFun2.m((Double x) -> x.intValue());
Double d = olFun2.m((Integer x) -> (Double) Double.valueOf(x));
d = olFun2.m((Double x) -> x);
}
}