Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
17 additions
and
88 deletions.
There are no files selected for viewing
21 changes: 0 additions & 21 deletions
21
tests/robovm/src/test/java/org/robovm/rt/lambdas/test004/I.java
This file was deleted.
Oops, something went wrong.
34 changes: 0 additions & 34 deletions
34
tests/robovm/src/test/java/org/robovm/rt/lambdas/test004/Lambda.java
This file was deleted.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
tests/robovm/src/test/java/org/robovm/rt/lambdas/test004/Test04_Casting.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package org.robovm.rt.lambdas.test004; | ||
|
||
import static org.junit.Assert.assertEquals; | ||
|
||
import org.junit.Test; | ||
|
||
interface I { | ||
int add(); | ||
} | ||
|
||
public class Test04_Casting { | ||
|
||
@Test | ||
public void test004() { | ||
assertEquals(10, ((I)()->10).add()); | ||
} | ||
} |
33 changes: 0 additions & 33 deletions
33
tests/robovm/src/test/java/org/robovm/rt/lambdas/test004/Tests.java
This file was deleted.
Oops, something went wrong.