Anpassung am manuellen Test OLFunTest.java.
This commit is contained in:
parent
59c5e48201
commit
6262c9434c
@ -72,7 +72,7 @@ public class OLFun2Test {
|
|||||||
assertNotNull(m);
|
assertNotNull(m);
|
||||||
}
|
}
|
||||||
|
|
||||||
@AfterClass
|
//@AfterClass
|
||||||
public static void cleanUp() {
|
public static void cleanUp() {
|
||||||
TestCleanUp.cleanUpDirectory(new File(generatedByteCodeDirectory), f -> f.getName().contains(".class"));
|
TestCleanUp.cleanUpDirectory(new File(generatedByteCodeDirectory), f -> f.getName().contains(".class"));
|
||||||
}
|
}
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
public class OLFunTest{
|
public class OLFunTest{
|
||||||
public static void main(String[] args){
|
public static void main(String[] args){
|
||||||
var olFun2 = new OLFun2();
|
var olFun2 = new OLFun2();
|
||||||
olFun2.m((Integer x) -> x);
|
Integer i = olFun2.m((Integer x) -> x);
|
||||||
olFun2.m((Integer x) -> (Double) Double.valueOf(x));
|
i = olFun2.m((Double x) -> x.intValue());
|
||||||
olFun2.m((Double x) -> x);
|
|
||||||
olFun2.m((Double x) -> x.intValue());
|
Double d = olFun2.m((Integer x) -> (Double) Double.valueOf(x));
|
||||||
|
d = olFun2.m((Double x) -> x);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user