add test files
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package foo
|
||||
|
||||
|
||||
class A(t : Int) {
|
||||
var i = t
|
||||
fun compareTo(other : A) = (this.i - other.i)
|
||||
}
|
||||
|
||||
fun box() : Boolean{
|
||||
return (A(3) > A(2)) && (A(2) >= A(2)) && (A(1) >= A(0)) && (A(2) <= A(2)) && (A(3) <= A(4)) && (A(0) < A(100))
|
||||
}
|
||||
Reference in New Issue
Block a user