tests: Update external tests (1.1.2-dev-393)
This commit is contained in:
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
|
||||
// LANGUAGE_VERSION: 1.0
|
||||
// FULL_JDK
|
||||
|
||||
import java.math.BigInteger
|
||||
|
||||
fun box(): String {
|
||||
val m = BigInteger.valueOf(-2) % BigInteger.valueOf(3)
|
||||
return if (m != BigInteger.valueOf(1)) "Fail: BigInteger(-2) mod BigInteger(3) == $m" else "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user