Files
kotlin-fork/compiler/testData/codegen/box/ranges/contains/generated/arrayIndices.kt
T

2073 lines
128 KiB
Kotlin
Vendored

// KJS_WITH_FULL_RUNTIME
// Auto-generated by GenerateInRangeExpressionTestData. Do not edit!
// WITH_RUNTIME
val intArray = intArrayOf(1, 2, 3)
val objectArray = arrayOf(1, 2, 3)
val emptyIntArray = intArrayOf()
val emptyObjectArray = arrayOf<Any>()
val range0 = intArray.indices
val range1 = objectArray.indices
val range2 = emptyIntArray.indices
val range3 = emptyObjectArray.indices
val element0 = (-1).toByte()
val element1 = (-1).toShort()
val element2 = (-1)
val element3 = (-1).toLong()
val element4 = (-1).toFloat()
val element5 = (-1).toDouble()
val element6 = 0.toByte()
val element7 = 0.toShort()
val element8 = 0
val element9 = 0.toLong()
val element10 = 0.toFloat()
val element11 = 0.toDouble()
val element12 = 1.toByte()
val element13 = 1.toShort()
val element14 = 1
val element15 = 1.toLong()
val element16 = 1.toFloat()
val element17 = 1.toDouble()
val element18 = 2.toByte()
val element19 = 2.toShort()
val element20 = 2
val element21 = 2.toLong()
val element22 = 2.toFloat()
val element23 = 2.toDouble()
val element24 = 3.toByte()
val element25 = 3.toShort()
val element26 = 3
val element27 = 3.toLong()
val element28 = 3.toFloat()
val element29 = 3.toDouble()
val element30 = 4.toByte()
val element31 = 4.toShort()
val element32 = 4
val element33 = 4.toLong()
val element34 = 4.toFloat()
val element35 = 4.toDouble()
fun box(): String {
testR0xE0()
testR0xE1()
testR0xE2()
testR0xE3()
testR0xE4()
testR0xE5()
testR0xE6()
testR0xE7()
testR0xE8()
testR0xE9()
testR0xE10()
testR0xE11()
testR0xE12()
testR0xE13()
testR0xE14()
testR0xE15()
testR0xE16()
testR0xE17()
testR0xE18()
testR0xE19()
testR0xE20()
testR0xE21()
testR0xE22()
testR0xE23()
testR0xE24()
testR0xE25()
testR0xE26()
testR0xE27()
testR0xE28()
testR0xE29()
testR0xE30()
testR0xE31()
testR0xE32()
testR0xE33()
testR0xE34()
testR0xE35()
testR1xE0()
testR1xE1()
testR1xE2()
testR1xE3()
testR1xE4()
testR1xE5()
testR1xE6()
testR1xE7()
testR1xE8()
testR1xE9()
testR1xE10()
testR1xE11()
testR1xE12()
testR1xE13()
testR1xE14()
testR1xE15()
testR1xE16()
testR1xE17()
testR1xE18()
testR1xE19()
testR1xE20()
testR1xE21()
testR1xE22()
testR1xE23()
testR1xE24()
testR1xE25()
testR1xE26()
testR1xE27()
testR1xE28()
testR1xE29()
testR1xE30()
testR1xE31()
testR1xE32()
testR1xE33()
testR1xE34()
testR1xE35()
testR2xE0()
testR2xE1()
testR2xE2()
testR2xE3()
testR2xE4()
testR2xE5()
testR2xE6()
testR2xE7()
testR2xE8()
testR2xE9()
testR2xE10()
testR2xE11()
testR2xE12()
testR2xE13()
testR2xE14()
testR2xE15()
testR2xE16()
testR2xE17()
testR2xE18()
testR2xE19()
testR2xE20()
testR2xE21()
testR2xE22()
testR2xE23()
testR2xE24()
testR2xE25()
testR2xE26()
testR2xE27()
testR2xE28()
testR2xE29()
testR2xE30()
testR2xE31()
testR2xE32()
testR2xE33()
testR2xE34()
testR2xE35()
testR3xE0()
testR3xE1()
testR3xE2()
testR3xE3()
testR3xE4()
testR3xE5()
testR3xE6()
testR3xE7()
testR3xE8()
testR3xE9()
testR3xE10()
testR3xE11()
testR3xE12()
testR3xE13()
testR3xE14()
testR3xE15()
testR3xE16()
testR3xE17()
testR3xE18()
testR3xE19()
testR3xE20()
testR3xE21()
testR3xE22()
testR3xE23()
testR3xE24()
testR3xE25()
testR3xE26()
testR3xE27()
testR3xE28()
testR3xE29()
testR3xE30()
testR3xE31()
testR3xE32()
testR3xE33()
testR3xE34()
testR3xE35()
return "OK"
}
fun testR0xE0() {
// with possible local optimizations
if ((-1).toByte() in intArray.indices != range0.contains((-1).toByte())) throw AssertionError()
if ((-1).toByte() !in intArray.indices != !range0.contains((-1).toByte())) throw AssertionError()
if (!((-1).toByte() in intArray.indices) != !range0.contains((-1).toByte())) throw AssertionError()
if (!((-1).toByte() !in intArray.indices) != range0.contains((-1).toByte())) throw AssertionError()
// no local optimizations
if (element0 in intArray.indices != range0.contains(element0)) throw AssertionError()
if (element0 !in intArray.indices != !range0.contains(element0)) throw AssertionError()
if (!(element0 in intArray.indices) != !range0.contains(element0)) throw AssertionError()
if (!(element0 !in intArray.indices) != range0.contains(element0)) throw AssertionError()
}
fun testR0xE1() {
// with possible local optimizations
if ((-1).toShort() in intArray.indices != range0.contains((-1).toShort())) throw AssertionError()
if ((-1).toShort() !in intArray.indices != !range0.contains((-1).toShort())) throw AssertionError()
if (!((-1).toShort() in intArray.indices) != !range0.contains((-1).toShort())) throw AssertionError()
if (!((-1).toShort() !in intArray.indices) != range0.contains((-1).toShort())) throw AssertionError()
// no local optimizations
if (element1 in intArray.indices != range0.contains(element1)) throw AssertionError()
if (element1 !in intArray.indices != !range0.contains(element1)) throw AssertionError()
if (!(element1 in intArray.indices) != !range0.contains(element1)) throw AssertionError()
if (!(element1 !in intArray.indices) != range0.contains(element1)) throw AssertionError()
}
fun testR0xE2() {
// with possible local optimizations
if ((-1) in intArray.indices != range0.contains((-1))) throw AssertionError()
if ((-1) !in intArray.indices != !range0.contains((-1))) throw AssertionError()
if (!((-1) in intArray.indices) != !range0.contains((-1))) throw AssertionError()
if (!((-1) !in intArray.indices) != range0.contains((-1))) throw AssertionError()
// no local optimizations
if (element2 in intArray.indices != range0.contains(element2)) throw AssertionError()
if (element2 !in intArray.indices != !range0.contains(element2)) throw AssertionError()
if (!(element2 in intArray.indices) != !range0.contains(element2)) throw AssertionError()
if (!(element2 !in intArray.indices) != range0.contains(element2)) throw AssertionError()
}
fun testR0xE3() {
// with possible local optimizations
if ((-1).toLong() in intArray.indices != range0.contains((-1).toLong())) throw AssertionError()
if ((-1).toLong() !in intArray.indices != !range0.contains((-1).toLong())) throw AssertionError()
if (!((-1).toLong() in intArray.indices) != !range0.contains((-1).toLong())) throw AssertionError()
if (!((-1).toLong() !in intArray.indices) != range0.contains((-1).toLong())) throw AssertionError()
// no local optimizations
if (element3 in intArray.indices != range0.contains(element3)) throw AssertionError()
if (element3 !in intArray.indices != !range0.contains(element3)) throw AssertionError()
if (!(element3 in intArray.indices) != !range0.contains(element3)) throw AssertionError()
if (!(element3 !in intArray.indices) != range0.contains(element3)) throw AssertionError()
}
fun testR0xE4() {
// with possible local optimizations
if ((-1).toFloat() in intArray.indices != range0.contains((-1).toFloat())) throw AssertionError()
if ((-1).toFloat() !in intArray.indices != !range0.contains((-1).toFloat())) throw AssertionError()
if (!((-1).toFloat() in intArray.indices) != !range0.contains((-1).toFloat())) throw AssertionError()
if (!((-1).toFloat() !in intArray.indices) != range0.contains((-1).toFloat())) throw AssertionError()
// no local optimizations
if (element4 in intArray.indices != range0.contains(element4)) throw AssertionError()
if (element4 !in intArray.indices != !range0.contains(element4)) throw AssertionError()
if (!(element4 in intArray.indices) != !range0.contains(element4)) throw AssertionError()
if (!(element4 !in intArray.indices) != range0.contains(element4)) throw AssertionError()
}
fun testR0xE5() {
// with possible local optimizations
if ((-1).toDouble() in intArray.indices != range0.contains((-1).toDouble())) throw AssertionError()
if ((-1).toDouble() !in intArray.indices != !range0.contains((-1).toDouble())) throw AssertionError()
if (!((-1).toDouble() in intArray.indices) != !range0.contains((-1).toDouble())) throw AssertionError()
if (!((-1).toDouble() !in intArray.indices) != range0.contains((-1).toDouble())) throw AssertionError()
// no local optimizations
if (element5 in intArray.indices != range0.contains(element5)) throw AssertionError()
if (element5 !in intArray.indices != !range0.contains(element5)) throw AssertionError()
if (!(element5 in intArray.indices) != !range0.contains(element5)) throw AssertionError()
if (!(element5 !in intArray.indices) != range0.contains(element5)) throw AssertionError()
}
fun testR0xE6() {
// with possible local optimizations
if (0.toByte() in intArray.indices != range0.contains(0.toByte())) throw AssertionError()
if (0.toByte() !in intArray.indices != !range0.contains(0.toByte())) throw AssertionError()
if (!(0.toByte() in intArray.indices) != !range0.contains(0.toByte())) throw AssertionError()
if (!(0.toByte() !in intArray.indices) != range0.contains(0.toByte())) throw AssertionError()
// no local optimizations
if (element6 in intArray.indices != range0.contains(element6)) throw AssertionError()
if (element6 !in intArray.indices != !range0.contains(element6)) throw AssertionError()
if (!(element6 in intArray.indices) != !range0.contains(element6)) throw AssertionError()
if (!(element6 !in intArray.indices) != range0.contains(element6)) throw AssertionError()
}
fun testR0xE7() {
// with possible local optimizations
if (0.toShort() in intArray.indices != range0.contains(0.toShort())) throw AssertionError()
if (0.toShort() !in intArray.indices != !range0.contains(0.toShort())) throw AssertionError()
if (!(0.toShort() in intArray.indices) != !range0.contains(0.toShort())) throw AssertionError()
if (!(0.toShort() !in intArray.indices) != range0.contains(0.toShort())) throw AssertionError()
// no local optimizations
if (element7 in intArray.indices != range0.contains(element7)) throw AssertionError()
if (element7 !in intArray.indices != !range0.contains(element7)) throw AssertionError()
if (!(element7 in intArray.indices) != !range0.contains(element7)) throw AssertionError()
if (!(element7 !in intArray.indices) != range0.contains(element7)) throw AssertionError()
}
fun testR0xE8() {
// with possible local optimizations
if (0 in intArray.indices != range0.contains(0)) throw AssertionError()
if (0 !in intArray.indices != !range0.contains(0)) throw AssertionError()
if (!(0 in intArray.indices) != !range0.contains(0)) throw AssertionError()
if (!(0 !in intArray.indices) != range0.contains(0)) throw AssertionError()
// no local optimizations
if (element8 in intArray.indices != range0.contains(element8)) throw AssertionError()
if (element8 !in intArray.indices != !range0.contains(element8)) throw AssertionError()
if (!(element8 in intArray.indices) != !range0.contains(element8)) throw AssertionError()
if (!(element8 !in intArray.indices) != range0.contains(element8)) throw AssertionError()
}
fun testR0xE9() {
// with possible local optimizations
if (0.toLong() in intArray.indices != range0.contains(0.toLong())) throw AssertionError()
if (0.toLong() !in intArray.indices != !range0.contains(0.toLong())) throw AssertionError()
if (!(0.toLong() in intArray.indices) != !range0.contains(0.toLong())) throw AssertionError()
if (!(0.toLong() !in intArray.indices) != range0.contains(0.toLong())) throw AssertionError()
// no local optimizations
if (element9 in intArray.indices != range0.contains(element9)) throw AssertionError()
if (element9 !in intArray.indices != !range0.contains(element9)) throw AssertionError()
if (!(element9 in intArray.indices) != !range0.contains(element9)) throw AssertionError()
if (!(element9 !in intArray.indices) != range0.contains(element9)) throw AssertionError()
}
fun testR0xE10() {
// with possible local optimizations
if (0.toFloat() in intArray.indices != range0.contains(0.toFloat())) throw AssertionError()
if (0.toFloat() !in intArray.indices != !range0.contains(0.toFloat())) throw AssertionError()
if (!(0.toFloat() in intArray.indices) != !range0.contains(0.toFloat())) throw AssertionError()
if (!(0.toFloat() !in intArray.indices) != range0.contains(0.toFloat())) throw AssertionError()
// no local optimizations
if (element10 in intArray.indices != range0.contains(element10)) throw AssertionError()
if (element10 !in intArray.indices != !range0.contains(element10)) throw AssertionError()
if (!(element10 in intArray.indices) != !range0.contains(element10)) throw AssertionError()
if (!(element10 !in intArray.indices) != range0.contains(element10)) throw AssertionError()
}
fun testR0xE11() {
// with possible local optimizations
if (0.toDouble() in intArray.indices != range0.contains(0.toDouble())) throw AssertionError()
if (0.toDouble() !in intArray.indices != !range0.contains(0.toDouble())) throw AssertionError()
if (!(0.toDouble() in intArray.indices) != !range0.contains(0.toDouble())) throw AssertionError()
if (!(0.toDouble() !in intArray.indices) != range0.contains(0.toDouble())) throw AssertionError()
// no local optimizations
if (element11 in intArray.indices != range0.contains(element11)) throw AssertionError()
if (element11 !in intArray.indices != !range0.contains(element11)) throw AssertionError()
if (!(element11 in intArray.indices) != !range0.contains(element11)) throw AssertionError()
if (!(element11 !in intArray.indices) != range0.contains(element11)) throw AssertionError()
}
fun testR0xE12() {
// with possible local optimizations
if (1.toByte() in intArray.indices != range0.contains(1.toByte())) throw AssertionError()
if (1.toByte() !in intArray.indices != !range0.contains(1.toByte())) throw AssertionError()
if (!(1.toByte() in intArray.indices) != !range0.contains(1.toByte())) throw AssertionError()
if (!(1.toByte() !in intArray.indices) != range0.contains(1.toByte())) throw AssertionError()
// no local optimizations
if (element12 in intArray.indices != range0.contains(element12)) throw AssertionError()
if (element12 !in intArray.indices != !range0.contains(element12)) throw AssertionError()
if (!(element12 in intArray.indices) != !range0.contains(element12)) throw AssertionError()
if (!(element12 !in intArray.indices) != range0.contains(element12)) throw AssertionError()
}
fun testR0xE13() {
// with possible local optimizations
if (1.toShort() in intArray.indices != range0.contains(1.toShort())) throw AssertionError()
if (1.toShort() !in intArray.indices != !range0.contains(1.toShort())) throw AssertionError()
if (!(1.toShort() in intArray.indices) != !range0.contains(1.toShort())) throw AssertionError()
if (!(1.toShort() !in intArray.indices) != range0.contains(1.toShort())) throw AssertionError()
// no local optimizations
if (element13 in intArray.indices != range0.contains(element13)) throw AssertionError()
if (element13 !in intArray.indices != !range0.contains(element13)) throw AssertionError()
if (!(element13 in intArray.indices) != !range0.contains(element13)) throw AssertionError()
if (!(element13 !in intArray.indices) != range0.contains(element13)) throw AssertionError()
}
fun testR0xE14() {
// with possible local optimizations
if (1 in intArray.indices != range0.contains(1)) throw AssertionError()
if (1 !in intArray.indices != !range0.contains(1)) throw AssertionError()
if (!(1 in intArray.indices) != !range0.contains(1)) throw AssertionError()
if (!(1 !in intArray.indices) != range0.contains(1)) throw AssertionError()
// no local optimizations
if (element14 in intArray.indices != range0.contains(element14)) throw AssertionError()
if (element14 !in intArray.indices != !range0.contains(element14)) throw AssertionError()
if (!(element14 in intArray.indices) != !range0.contains(element14)) throw AssertionError()
if (!(element14 !in intArray.indices) != range0.contains(element14)) throw AssertionError()
}
fun testR0xE15() {
// with possible local optimizations
if (1.toLong() in intArray.indices != range0.contains(1.toLong())) throw AssertionError()
if (1.toLong() !in intArray.indices != !range0.contains(1.toLong())) throw AssertionError()
if (!(1.toLong() in intArray.indices) != !range0.contains(1.toLong())) throw AssertionError()
if (!(1.toLong() !in intArray.indices) != range0.contains(1.toLong())) throw AssertionError()
// no local optimizations
if (element15 in intArray.indices != range0.contains(element15)) throw AssertionError()
if (element15 !in intArray.indices != !range0.contains(element15)) throw AssertionError()
if (!(element15 in intArray.indices) != !range0.contains(element15)) throw AssertionError()
if (!(element15 !in intArray.indices) != range0.contains(element15)) throw AssertionError()
}
fun testR0xE16() {
// with possible local optimizations
if (1.toFloat() in intArray.indices != range0.contains(1.toFloat())) throw AssertionError()
if (1.toFloat() !in intArray.indices != !range0.contains(1.toFloat())) throw AssertionError()
if (!(1.toFloat() in intArray.indices) != !range0.contains(1.toFloat())) throw AssertionError()
if (!(1.toFloat() !in intArray.indices) != range0.contains(1.toFloat())) throw AssertionError()
// no local optimizations
if (element16 in intArray.indices != range0.contains(element16)) throw AssertionError()
if (element16 !in intArray.indices != !range0.contains(element16)) throw AssertionError()
if (!(element16 in intArray.indices) != !range0.contains(element16)) throw AssertionError()
if (!(element16 !in intArray.indices) != range0.contains(element16)) throw AssertionError()
}
fun testR0xE17() {
// with possible local optimizations
if (1.toDouble() in intArray.indices != range0.contains(1.toDouble())) throw AssertionError()
if (1.toDouble() !in intArray.indices != !range0.contains(1.toDouble())) throw AssertionError()
if (!(1.toDouble() in intArray.indices) != !range0.contains(1.toDouble())) throw AssertionError()
if (!(1.toDouble() !in intArray.indices) != range0.contains(1.toDouble())) throw AssertionError()
// no local optimizations
if (element17 in intArray.indices != range0.contains(element17)) throw AssertionError()
if (element17 !in intArray.indices != !range0.contains(element17)) throw AssertionError()
if (!(element17 in intArray.indices) != !range0.contains(element17)) throw AssertionError()
if (!(element17 !in intArray.indices) != range0.contains(element17)) throw AssertionError()
}
fun testR0xE18() {
// with possible local optimizations
if (2.toByte() in intArray.indices != range0.contains(2.toByte())) throw AssertionError()
if (2.toByte() !in intArray.indices != !range0.contains(2.toByte())) throw AssertionError()
if (!(2.toByte() in intArray.indices) != !range0.contains(2.toByte())) throw AssertionError()
if (!(2.toByte() !in intArray.indices) != range0.contains(2.toByte())) throw AssertionError()
// no local optimizations
if (element18 in intArray.indices != range0.contains(element18)) throw AssertionError()
if (element18 !in intArray.indices != !range0.contains(element18)) throw AssertionError()
if (!(element18 in intArray.indices) != !range0.contains(element18)) throw AssertionError()
if (!(element18 !in intArray.indices) != range0.contains(element18)) throw AssertionError()
}
fun testR0xE19() {
// with possible local optimizations
if (2.toShort() in intArray.indices != range0.contains(2.toShort())) throw AssertionError()
if (2.toShort() !in intArray.indices != !range0.contains(2.toShort())) throw AssertionError()
if (!(2.toShort() in intArray.indices) != !range0.contains(2.toShort())) throw AssertionError()
if (!(2.toShort() !in intArray.indices) != range0.contains(2.toShort())) throw AssertionError()
// no local optimizations
if (element19 in intArray.indices != range0.contains(element19)) throw AssertionError()
if (element19 !in intArray.indices != !range0.contains(element19)) throw AssertionError()
if (!(element19 in intArray.indices) != !range0.contains(element19)) throw AssertionError()
if (!(element19 !in intArray.indices) != range0.contains(element19)) throw AssertionError()
}
fun testR0xE20() {
// with possible local optimizations
if (2 in intArray.indices != range0.contains(2)) throw AssertionError()
if (2 !in intArray.indices != !range0.contains(2)) throw AssertionError()
if (!(2 in intArray.indices) != !range0.contains(2)) throw AssertionError()
if (!(2 !in intArray.indices) != range0.contains(2)) throw AssertionError()
// no local optimizations
if (element20 in intArray.indices != range0.contains(element20)) throw AssertionError()
if (element20 !in intArray.indices != !range0.contains(element20)) throw AssertionError()
if (!(element20 in intArray.indices) != !range0.contains(element20)) throw AssertionError()
if (!(element20 !in intArray.indices) != range0.contains(element20)) throw AssertionError()
}
fun testR0xE21() {
// with possible local optimizations
if (2.toLong() in intArray.indices != range0.contains(2.toLong())) throw AssertionError()
if (2.toLong() !in intArray.indices != !range0.contains(2.toLong())) throw AssertionError()
if (!(2.toLong() in intArray.indices) != !range0.contains(2.toLong())) throw AssertionError()
if (!(2.toLong() !in intArray.indices) != range0.contains(2.toLong())) throw AssertionError()
// no local optimizations
if (element21 in intArray.indices != range0.contains(element21)) throw AssertionError()
if (element21 !in intArray.indices != !range0.contains(element21)) throw AssertionError()
if (!(element21 in intArray.indices) != !range0.contains(element21)) throw AssertionError()
if (!(element21 !in intArray.indices) != range0.contains(element21)) throw AssertionError()
}
fun testR0xE22() {
// with possible local optimizations
if (2.toFloat() in intArray.indices != range0.contains(2.toFloat())) throw AssertionError()
if (2.toFloat() !in intArray.indices != !range0.contains(2.toFloat())) throw AssertionError()
if (!(2.toFloat() in intArray.indices) != !range0.contains(2.toFloat())) throw AssertionError()
if (!(2.toFloat() !in intArray.indices) != range0.contains(2.toFloat())) throw AssertionError()
// no local optimizations
if (element22 in intArray.indices != range0.contains(element22)) throw AssertionError()
if (element22 !in intArray.indices != !range0.contains(element22)) throw AssertionError()
if (!(element22 in intArray.indices) != !range0.contains(element22)) throw AssertionError()
if (!(element22 !in intArray.indices) != range0.contains(element22)) throw AssertionError()
}
fun testR0xE23() {
// with possible local optimizations
if (2.toDouble() in intArray.indices != range0.contains(2.toDouble())) throw AssertionError()
if (2.toDouble() !in intArray.indices != !range0.contains(2.toDouble())) throw AssertionError()
if (!(2.toDouble() in intArray.indices) != !range0.contains(2.toDouble())) throw AssertionError()
if (!(2.toDouble() !in intArray.indices) != range0.contains(2.toDouble())) throw AssertionError()
// no local optimizations
if (element23 in intArray.indices != range0.contains(element23)) throw AssertionError()
if (element23 !in intArray.indices != !range0.contains(element23)) throw AssertionError()
if (!(element23 in intArray.indices) != !range0.contains(element23)) throw AssertionError()
if (!(element23 !in intArray.indices) != range0.contains(element23)) throw AssertionError()
}
fun testR0xE24() {
// with possible local optimizations
if (3.toByte() in intArray.indices != range0.contains(3.toByte())) throw AssertionError()
if (3.toByte() !in intArray.indices != !range0.contains(3.toByte())) throw AssertionError()
if (!(3.toByte() in intArray.indices) != !range0.contains(3.toByte())) throw AssertionError()
if (!(3.toByte() !in intArray.indices) != range0.contains(3.toByte())) throw AssertionError()
// no local optimizations
if (element24 in intArray.indices != range0.contains(element24)) throw AssertionError()
if (element24 !in intArray.indices != !range0.contains(element24)) throw AssertionError()
if (!(element24 in intArray.indices) != !range0.contains(element24)) throw AssertionError()
if (!(element24 !in intArray.indices) != range0.contains(element24)) throw AssertionError()
}
fun testR0xE25() {
// with possible local optimizations
if (3.toShort() in intArray.indices != range0.contains(3.toShort())) throw AssertionError()
if (3.toShort() !in intArray.indices != !range0.contains(3.toShort())) throw AssertionError()
if (!(3.toShort() in intArray.indices) != !range0.contains(3.toShort())) throw AssertionError()
if (!(3.toShort() !in intArray.indices) != range0.contains(3.toShort())) throw AssertionError()
// no local optimizations
if (element25 in intArray.indices != range0.contains(element25)) throw AssertionError()
if (element25 !in intArray.indices != !range0.contains(element25)) throw AssertionError()
if (!(element25 in intArray.indices) != !range0.contains(element25)) throw AssertionError()
if (!(element25 !in intArray.indices) != range0.contains(element25)) throw AssertionError()
}
fun testR0xE26() {
// with possible local optimizations
if (3 in intArray.indices != range0.contains(3)) throw AssertionError()
if (3 !in intArray.indices != !range0.contains(3)) throw AssertionError()
if (!(3 in intArray.indices) != !range0.contains(3)) throw AssertionError()
if (!(3 !in intArray.indices) != range0.contains(3)) throw AssertionError()
// no local optimizations
if (element26 in intArray.indices != range0.contains(element26)) throw AssertionError()
if (element26 !in intArray.indices != !range0.contains(element26)) throw AssertionError()
if (!(element26 in intArray.indices) != !range0.contains(element26)) throw AssertionError()
if (!(element26 !in intArray.indices) != range0.contains(element26)) throw AssertionError()
}
fun testR0xE27() {
// with possible local optimizations
if (3.toLong() in intArray.indices != range0.contains(3.toLong())) throw AssertionError()
if (3.toLong() !in intArray.indices != !range0.contains(3.toLong())) throw AssertionError()
if (!(3.toLong() in intArray.indices) != !range0.contains(3.toLong())) throw AssertionError()
if (!(3.toLong() !in intArray.indices) != range0.contains(3.toLong())) throw AssertionError()
// no local optimizations
if (element27 in intArray.indices != range0.contains(element27)) throw AssertionError()
if (element27 !in intArray.indices != !range0.contains(element27)) throw AssertionError()
if (!(element27 in intArray.indices) != !range0.contains(element27)) throw AssertionError()
if (!(element27 !in intArray.indices) != range0.contains(element27)) throw AssertionError()
}
fun testR0xE28() {
// with possible local optimizations
if (3.toFloat() in intArray.indices != range0.contains(3.toFloat())) throw AssertionError()
if (3.toFloat() !in intArray.indices != !range0.contains(3.toFloat())) throw AssertionError()
if (!(3.toFloat() in intArray.indices) != !range0.contains(3.toFloat())) throw AssertionError()
if (!(3.toFloat() !in intArray.indices) != range0.contains(3.toFloat())) throw AssertionError()
// no local optimizations
if (element28 in intArray.indices != range0.contains(element28)) throw AssertionError()
if (element28 !in intArray.indices != !range0.contains(element28)) throw AssertionError()
if (!(element28 in intArray.indices) != !range0.contains(element28)) throw AssertionError()
if (!(element28 !in intArray.indices) != range0.contains(element28)) throw AssertionError()
}
fun testR0xE29() {
// with possible local optimizations
if (3.toDouble() in intArray.indices != range0.contains(3.toDouble())) throw AssertionError()
if (3.toDouble() !in intArray.indices != !range0.contains(3.toDouble())) throw AssertionError()
if (!(3.toDouble() in intArray.indices) != !range0.contains(3.toDouble())) throw AssertionError()
if (!(3.toDouble() !in intArray.indices) != range0.contains(3.toDouble())) throw AssertionError()
// no local optimizations
if (element29 in intArray.indices != range0.contains(element29)) throw AssertionError()
if (element29 !in intArray.indices != !range0.contains(element29)) throw AssertionError()
if (!(element29 in intArray.indices) != !range0.contains(element29)) throw AssertionError()
if (!(element29 !in intArray.indices) != range0.contains(element29)) throw AssertionError()
}
fun testR0xE30() {
// with possible local optimizations
if (4.toByte() in intArray.indices != range0.contains(4.toByte())) throw AssertionError()
if (4.toByte() !in intArray.indices != !range0.contains(4.toByte())) throw AssertionError()
if (!(4.toByte() in intArray.indices) != !range0.contains(4.toByte())) throw AssertionError()
if (!(4.toByte() !in intArray.indices) != range0.contains(4.toByte())) throw AssertionError()
// no local optimizations
if (element30 in intArray.indices != range0.contains(element30)) throw AssertionError()
if (element30 !in intArray.indices != !range0.contains(element30)) throw AssertionError()
if (!(element30 in intArray.indices) != !range0.contains(element30)) throw AssertionError()
if (!(element30 !in intArray.indices) != range0.contains(element30)) throw AssertionError()
}
fun testR0xE31() {
// with possible local optimizations
if (4.toShort() in intArray.indices != range0.contains(4.toShort())) throw AssertionError()
if (4.toShort() !in intArray.indices != !range0.contains(4.toShort())) throw AssertionError()
if (!(4.toShort() in intArray.indices) != !range0.contains(4.toShort())) throw AssertionError()
if (!(4.toShort() !in intArray.indices) != range0.contains(4.toShort())) throw AssertionError()
// no local optimizations
if (element31 in intArray.indices != range0.contains(element31)) throw AssertionError()
if (element31 !in intArray.indices != !range0.contains(element31)) throw AssertionError()
if (!(element31 in intArray.indices) != !range0.contains(element31)) throw AssertionError()
if (!(element31 !in intArray.indices) != range0.contains(element31)) throw AssertionError()
}
fun testR0xE32() {
// with possible local optimizations
if (4 in intArray.indices != range0.contains(4)) throw AssertionError()
if (4 !in intArray.indices != !range0.contains(4)) throw AssertionError()
if (!(4 in intArray.indices) != !range0.contains(4)) throw AssertionError()
if (!(4 !in intArray.indices) != range0.contains(4)) throw AssertionError()
// no local optimizations
if (element32 in intArray.indices != range0.contains(element32)) throw AssertionError()
if (element32 !in intArray.indices != !range0.contains(element32)) throw AssertionError()
if (!(element32 in intArray.indices) != !range0.contains(element32)) throw AssertionError()
if (!(element32 !in intArray.indices) != range0.contains(element32)) throw AssertionError()
}
fun testR0xE33() {
// with possible local optimizations
if (4.toLong() in intArray.indices != range0.contains(4.toLong())) throw AssertionError()
if (4.toLong() !in intArray.indices != !range0.contains(4.toLong())) throw AssertionError()
if (!(4.toLong() in intArray.indices) != !range0.contains(4.toLong())) throw AssertionError()
if (!(4.toLong() !in intArray.indices) != range0.contains(4.toLong())) throw AssertionError()
// no local optimizations
if (element33 in intArray.indices != range0.contains(element33)) throw AssertionError()
if (element33 !in intArray.indices != !range0.contains(element33)) throw AssertionError()
if (!(element33 in intArray.indices) != !range0.contains(element33)) throw AssertionError()
if (!(element33 !in intArray.indices) != range0.contains(element33)) throw AssertionError()
}
fun testR0xE34() {
// with possible local optimizations
if (4.toFloat() in intArray.indices != range0.contains(4.toFloat())) throw AssertionError()
if (4.toFloat() !in intArray.indices != !range0.contains(4.toFloat())) throw AssertionError()
if (!(4.toFloat() in intArray.indices) != !range0.contains(4.toFloat())) throw AssertionError()
if (!(4.toFloat() !in intArray.indices) != range0.contains(4.toFloat())) throw AssertionError()
// no local optimizations
if (element34 in intArray.indices != range0.contains(element34)) throw AssertionError()
if (element34 !in intArray.indices != !range0.contains(element34)) throw AssertionError()
if (!(element34 in intArray.indices) != !range0.contains(element34)) throw AssertionError()
if (!(element34 !in intArray.indices) != range0.contains(element34)) throw AssertionError()
}
fun testR0xE35() {
// with possible local optimizations
if (4.toDouble() in intArray.indices != range0.contains(4.toDouble())) throw AssertionError()
if (4.toDouble() !in intArray.indices != !range0.contains(4.toDouble())) throw AssertionError()
if (!(4.toDouble() in intArray.indices) != !range0.contains(4.toDouble())) throw AssertionError()
if (!(4.toDouble() !in intArray.indices) != range0.contains(4.toDouble())) throw AssertionError()
// no local optimizations
if (element35 in intArray.indices != range0.contains(element35)) throw AssertionError()
if (element35 !in intArray.indices != !range0.contains(element35)) throw AssertionError()
if (!(element35 in intArray.indices) != !range0.contains(element35)) throw AssertionError()
if (!(element35 !in intArray.indices) != range0.contains(element35)) throw AssertionError()
}
fun testR1xE0() {
// with possible local optimizations
if ((-1).toByte() in objectArray.indices != range1.contains((-1).toByte())) throw AssertionError()
if ((-1).toByte() !in objectArray.indices != !range1.contains((-1).toByte())) throw AssertionError()
if (!((-1).toByte() in objectArray.indices) != !range1.contains((-1).toByte())) throw AssertionError()
if (!((-1).toByte() !in objectArray.indices) != range1.contains((-1).toByte())) throw AssertionError()
// no local optimizations
if (element0 in objectArray.indices != range1.contains(element0)) throw AssertionError()
if (element0 !in objectArray.indices != !range1.contains(element0)) throw AssertionError()
if (!(element0 in objectArray.indices) != !range1.contains(element0)) throw AssertionError()
if (!(element0 !in objectArray.indices) != range1.contains(element0)) throw AssertionError()
}
fun testR1xE1() {
// with possible local optimizations
if ((-1).toShort() in objectArray.indices != range1.contains((-1).toShort())) throw AssertionError()
if ((-1).toShort() !in objectArray.indices != !range1.contains((-1).toShort())) throw AssertionError()
if (!((-1).toShort() in objectArray.indices) != !range1.contains((-1).toShort())) throw AssertionError()
if (!((-1).toShort() !in objectArray.indices) != range1.contains((-1).toShort())) throw AssertionError()
// no local optimizations
if (element1 in objectArray.indices != range1.contains(element1)) throw AssertionError()
if (element1 !in objectArray.indices != !range1.contains(element1)) throw AssertionError()
if (!(element1 in objectArray.indices) != !range1.contains(element1)) throw AssertionError()
if (!(element1 !in objectArray.indices) != range1.contains(element1)) throw AssertionError()
}
fun testR1xE2() {
// with possible local optimizations
if ((-1) in objectArray.indices != range1.contains((-1))) throw AssertionError()
if ((-1) !in objectArray.indices != !range1.contains((-1))) throw AssertionError()
if (!((-1) in objectArray.indices) != !range1.contains((-1))) throw AssertionError()
if (!((-1) !in objectArray.indices) != range1.contains((-1))) throw AssertionError()
// no local optimizations
if (element2 in objectArray.indices != range1.contains(element2)) throw AssertionError()
if (element2 !in objectArray.indices != !range1.contains(element2)) throw AssertionError()
if (!(element2 in objectArray.indices) != !range1.contains(element2)) throw AssertionError()
if (!(element2 !in objectArray.indices) != range1.contains(element2)) throw AssertionError()
}
fun testR1xE3() {
// with possible local optimizations
if ((-1).toLong() in objectArray.indices != range1.contains((-1).toLong())) throw AssertionError()
if ((-1).toLong() !in objectArray.indices != !range1.contains((-1).toLong())) throw AssertionError()
if (!((-1).toLong() in objectArray.indices) != !range1.contains((-1).toLong())) throw AssertionError()
if (!((-1).toLong() !in objectArray.indices) != range1.contains((-1).toLong())) throw AssertionError()
// no local optimizations
if (element3 in objectArray.indices != range1.contains(element3)) throw AssertionError()
if (element3 !in objectArray.indices != !range1.contains(element3)) throw AssertionError()
if (!(element3 in objectArray.indices) != !range1.contains(element3)) throw AssertionError()
if (!(element3 !in objectArray.indices) != range1.contains(element3)) throw AssertionError()
}
fun testR1xE4() {
// with possible local optimizations
if ((-1).toFloat() in objectArray.indices != range1.contains((-1).toFloat())) throw AssertionError()
if ((-1).toFloat() !in objectArray.indices != !range1.contains((-1).toFloat())) throw AssertionError()
if (!((-1).toFloat() in objectArray.indices) != !range1.contains((-1).toFloat())) throw AssertionError()
if (!((-1).toFloat() !in objectArray.indices) != range1.contains((-1).toFloat())) throw AssertionError()
// no local optimizations
if (element4 in objectArray.indices != range1.contains(element4)) throw AssertionError()
if (element4 !in objectArray.indices != !range1.contains(element4)) throw AssertionError()
if (!(element4 in objectArray.indices) != !range1.contains(element4)) throw AssertionError()
if (!(element4 !in objectArray.indices) != range1.contains(element4)) throw AssertionError()
}
fun testR1xE5() {
// with possible local optimizations
if ((-1).toDouble() in objectArray.indices != range1.contains((-1).toDouble())) throw AssertionError()
if ((-1).toDouble() !in objectArray.indices != !range1.contains((-1).toDouble())) throw AssertionError()
if (!((-1).toDouble() in objectArray.indices) != !range1.contains((-1).toDouble())) throw AssertionError()
if (!((-1).toDouble() !in objectArray.indices) != range1.contains((-1).toDouble())) throw AssertionError()
// no local optimizations
if (element5 in objectArray.indices != range1.contains(element5)) throw AssertionError()
if (element5 !in objectArray.indices != !range1.contains(element5)) throw AssertionError()
if (!(element5 in objectArray.indices) != !range1.contains(element5)) throw AssertionError()
if (!(element5 !in objectArray.indices) != range1.contains(element5)) throw AssertionError()
}
fun testR1xE6() {
// with possible local optimizations
if (0.toByte() in objectArray.indices != range1.contains(0.toByte())) throw AssertionError()
if (0.toByte() !in objectArray.indices != !range1.contains(0.toByte())) throw AssertionError()
if (!(0.toByte() in objectArray.indices) != !range1.contains(0.toByte())) throw AssertionError()
if (!(0.toByte() !in objectArray.indices) != range1.contains(0.toByte())) throw AssertionError()
// no local optimizations
if (element6 in objectArray.indices != range1.contains(element6)) throw AssertionError()
if (element6 !in objectArray.indices != !range1.contains(element6)) throw AssertionError()
if (!(element6 in objectArray.indices) != !range1.contains(element6)) throw AssertionError()
if (!(element6 !in objectArray.indices) != range1.contains(element6)) throw AssertionError()
}
fun testR1xE7() {
// with possible local optimizations
if (0.toShort() in objectArray.indices != range1.contains(0.toShort())) throw AssertionError()
if (0.toShort() !in objectArray.indices != !range1.contains(0.toShort())) throw AssertionError()
if (!(0.toShort() in objectArray.indices) != !range1.contains(0.toShort())) throw AssertionError()
if (!(0.toShort() !in objectArray.indices) != range1.contains(0.toShort())) throw AssertionError()
// no local optimizations
if (element7 in objectArray.indices != range1.contains(element7)) throw AssertionError()
if (element7 !in objectArray.indices != !range1.contains(element7)) throw AssertionError()
if (!(element7 in objectArray.indices) != !range1.contains(element7)) throw AssertionError()
if (!(element7 !in objectArray.indices) != range1.contains(element7)) throw AssertionError()
}
fun testR1xE8() {
// with possible local optimizations
if (0 in objectArray.indices != range1.contains(0)) throw AssertionError()
if (0 !in objectArray.indices != !range1.contains(0)) throw AssertionError()
if (!(0 in objectArray.indices) != !range1.contains(0)) throw AssertionError()
if (!(0 !in objectArray.indices) != range1.contains(0)) throw AssertionError()
// no local optimizations
if (element8 in objectArray.indices != range1.contains(element8)) throw AssertionError()
if (element8 !in objectArray.indices != !range1.contains(element8)) throw AssertionError()
if (!(element8 in objectArray.indices) != !range1.contains(element8)) throw AssertionError()
if (!(element8 !in objectArray.indices) != range1.contains(element8)) throw AssertionError()
}
fun testR1xE9() {
// with possible local optimizations
if (0.toLong() in objectArray.indices != range1.contains(0.toLong())) throw AssertionError()
if (0.toLong() !in objectArray.indices != !range1.contains(0.toLong())) throw AssertionError()
if (!(0.toLong() in objectArray.indices) != !range1.contains(0.toLong())) throw AssertionError()
if (!(0.toLong() !in objectArray.indices) != range1.contains(0.toLong())) throw AssertionError()
// no local optimizations
if (element9 in objectArray.indices != range1.contains(element9)) throw AssertionError()
if (element9 !in objectArray.indices != !range1.contains(element9)) throw AssertionError()
if (!(element9 in objectArray.indices) != !range1.contains(element9)) throw AssertionError()
if (!(element9 !in objectArray.indices) != range1.contains(element9)) throw AssertionError()
}
fun testR1xE10() {
// with possible local optimizations
if (0.toFloat() in objectArray.indices != range1.contains(0.toFloat())) throw AssertionError()
if (0.toFloat() !in objectArray.indices != !range1.contains(0.toFloat())) throw AssertionError()
if (!(0.toFloat() in objectArray.indices) != !range1.contains(0.toFloat())) throw AssertionError()
if (!(0.toFloat() !in objectArray.indices) != range1.contains(0.toFloat())) throw AssertionError()
// no local optimizations
if (element10 in objectArray.indices != range1.contains(element10)) throw AssertionError()
if (element10 !in objectArray.indices != !range1.contains(element10)) throw AssertionError()
if (!(element10 in objectArray.indices) != !range1.contains(element10)) throw AssertionError()
if (!(element10 !in objectArray.indices) != range1.contains(element10)) throw AssertionError()
}
fun testR1xE11() {
// with possible local optimizations
if (0.toDouble() in objectArray.indices != range1.contains(0.toDouble())) throw AssertionError()
if (0.toDouble() !in objectArray.indices != !range1.contains(0.toDouble())) throw AssertionError()
if (!(0.toDouble() in objectArray.indices) != !range1.contains(0.toDouble())) throw AssertionError()
if (!(0.toDouble() !in objectArray.indices) != range1.contains(0.toDouble())) throw AssertionError()
// no local optimizations
if (element11 in objectArray.indices != range1.contains(element11)) throw AssertionError()
if (element11 !in objectArray.indices != !range1.contains(element11)) throw AssertionError()
if (!(element11 in objectArray.indices) != !range1.contains(element11)) throw AssertionError()
if (!(element11 !in objectArray.indices) != range1.contains(element11)) throw AssertionError()
}
fun testR1xE12() {
// with possible local optimizations
if (1.toByte() in objectArray.indices != range1.contains(1.toByte())) throw AssertionError()
if (1.toByte() !in objectArray.indices != !range1.contains(1.toByte())) throw AssertionError()
if (!(1.toByte() in objectArray.indices) != !range1.contains(1.toByte())) throw AssertionError()
if (!(1.toByte() !in objectArray.indices) != range1.contains(1.toByte())) throw AssertionError()
// no local optimizations
if (element12 in objectArray.indices != range1.contains(element12)) throw AssertionError()
if (element12 !in objectArray.indices != !range1.contains(element12)) throw AssertionError()
if (!(element12 in objectArray.indices) != !range1.contains(element12)) throw AssertionError()
if (!(element12 !in objectArray.indices) != range1.contains(element12)) throw AssertionError()
}
fun testR1xE13() {
// with possible local optimizations
if (1.toShort() in objectArray.indices != range1.contains(1.toShort())) throw AssertionError()
if (1.toShort() !in objectArray.indices != !range1.contains(1.toShort())) throw AssertionError()
if (!(1.toShort() in objectArray.indices) != !range1.contains(1.toShort())) throw AssertionError()
if (!(1.toShort() !in objectArray.indices) != range1.contains(1.toShort())) throw AssertionError()
// no local optimizations
if (element13 in objectArray.indices != range1.contains(element13)) throw AssertionError()
if (element13 !in objectArray.indices != !range1.contains(element13)) throw AssertionError()
if (!(element13 in objectArray.indices) != !range1.contains(element13)) throw AssertionError()
if (!(element13 !in objectArray.indices) != range1.contains(element13)) throw AssertionError()
}
fun testR1xE14() {
// with possible local optimizations
if (1 in objectArray.indices != range1.contains(1)) throw AssertionError()
if (1 !in objectArray.indices != !range1.contains(1)) throw AssertionError()
if (!(1 in objectArray.indices) != !range1.contains(1)) throw AssertionError()
if (!(1 !in objectArray.indices) != range1.contains(1)) throw AssertionError()
// no local optimizations
if (element14 in objectArray.indices != range1.contains(element14)) throw AssertionError()
if (element14 !in objectArray.indices != !range1.contains(element14)) throw AssertionError()
if (!(element14 in objectArray.indices) != !range1.contains(element14)) throw AssertionError()
if (!(element14 !in objectArray.indices) != range1.contains(element14)) throw AssertionError()
}
fun testR1xE15() {
// with possible local optimizations
if (1.toLong() in objectArray.indices != range1.contains(1.toLong())) throw AssertionError()
if (1.toLong() !in objectArray.indices != !range1.contains(1.toLong())) throw AssertionError()
if (!(1.toLong() in objectArray.indices) != !range1.contains(1.toLong())) throw AssertionError()
if (!(1.toLong() !in objectArray.indices) != range1.contains(1.toLong())) throw AssertionError()
// no local optimizations
if (element15 in objectArray.indices != range1.contains(element15)) throw AssertionError()
if (element15 !in objectArray.indices != !range1.contains(element15)) throw AssertionError()
if (!(element15 in objectArray.indices) != !range1.contains(element15)) throw AssertionError()
if (!(element15 !in objectArray.indices) != range1.contains(element15)) throw AssertionError()
}
fun testR1xE16() {
// with possible local optimizations
if (1.toFloat() in objectArray.indices != range1.contains(1.toFloat())) throw AssertionError()
if (1.toFloat() !in objectArray.indices != !range1.contains(1.toFloat())) throw AssertionError()
if (!(1.toFloat() in objectArray.indices) != !range1.contains(1.toFloat())) throw AssertionError()
if (!(1.toFloat() !in objectArray.indices) != range1.contains(1.toFloat())) throw AssertionError()
// no local optimizations
if (element16 in objectArray.indices != range1.contains(element16)) throw AssertionError()
if (element16 !in objectArray.indices != !range1.contains(element16)) throw AssertionError()
if (!(element16 in objectArray.indices) != !range1.contains(element16)) throw AssertionError()
if (!(element16 !in objectArray.indices) != range1.contains(element16)) throw AssertionError()
}
fun testR1xE17() {
// with possible local optimizations
if (1.toDouble() in objectArray.indices != range1.contains(1.toDouble())) throw AssertionError()
if (1.toDouble() !in objectArray.indices != !range1.contains(1.toDouble())) throw AssertionError()
if (!(1.toDouble() in objectArray.indices) != !range1.contains(1.toDouble())) throw AssertionError()
if (!(1.toDouble() !in objectArray.indices) != range1.contains(1.toDouble())) throw AssertionError()
// no local optimizations
if (element17 in objectArray.indices != range1.contains(element17)) throw AssertionError()
if (element17 !in objectArray.indices != !range1.contains(element17)) throw AssertionError()
if (!(element17 in objectArray.indices) != !range1.contains(element17)) throw AssertionError()
if (!(element17 !in objectArray.indices) != range1.contains(element17)) throw AssertionError()
}
fun testR1xE18() {
// with possible local optimizations
if (2.toByte() in objectArray.indices != range1.contains(2.toByte())) throw AssertionError()
if (2.toByte() !in objectArray.indices != !range1.contains(2.toByte())) throw AssertionError()
if (!(2.toByte() in objectArray.indices) != !range1.contains(2.toByte())) throw AssertionError()
if (!(2.toByte() !in objectArray.indices) != range1.contains(2.toByte())) throw AssertionError()
// no local optimizations
if (element18 in objectArray.indices != range1.contains(element18)) throw AssertionError()
if (element18 !in objectArray.indices != !range1.contains(element18)) throw AssertionError()
if (!(element18 in objectArray.indices) != !range1.contains(element18)) throw AssertionError()
if (!(element18 !in objectArray.indices) != range1.contains(element18)) throw AssertionError()
}
fun testR1xE19() {
// with possible local optimizations
if (2.toShort() in objectArray.indices != range1.contains(2.toShort())) throw AssertionError()
if (2.toShort() !in objectArray.indices != !range1.contains(2.toShort())) throw AssertionError()
if (!(2.toShort() in objectArray.indices) != !range1.contains(2.toShort())) throw AssertionError()
if (!(2.toShort() !in objectArray.indices) != range1.contains(2.toShort())) throw AssertionError()
// no local optimizations
if (element19 in objectArray.indices != range1.contains(element19)) throw AssertionError()
if (element19 !in objectArray.indices != !range1.contains(element19)) throw AssertionError()
if (!(element19 in objectArray.indices) != !range1.contains(element19)) throw AssertionError()
if (!(element19 !in objectArray.indices) != range1.contains(element19)) throw AssertionError()
}
fun testR1xE20() {
// with possible local optimizations
if (2 in objectArray.indices != range1.contains(2)) throw AssertionError()
if (2 !in objectArray.indices != !range1.contains(2)) throw AssertionError()
if (!(2 in objectArray.indices) != !range1.contains(2)) throw AssertionError()
if (!(2 !in objectArray.indices) != range1.contains(2)) throw AssertionError()
// no local optimizations
if (element20 in objectArray.indices != range1.contains(element20)) throw AssertionError()
if (element20 !in objectArray.indices != !range1.contains(element20)) throw AssertionError()
if (!(element20 in objectArray.indices) != !range1.contains(element20)) throw AssertionError()
if (!(element20 !in objectArray.indices) != range1.contains(element20)) throw AssertionError()
}
fun testR1xE21() {
// with possible local optimizations
if (2.toLong() in objectArray.indices != range1.contains(2.toLong())) throw AssertionError()
if (2.toLong() !in objectArray.indices != !range1.contains(2.toLong())) throw AssertionError()
if (!(2.toLong() in objectArray.indices) != !range1.contains(2.toLong())) throw AssertionError()
if (!(2.toLong() !in objectArray.indices) != range1.contains(2.toLong())) throw AssertionError()
// no local optimizations
if (element21 in objectArray.indices != range1.contains(element21)) throw AssertionError()
if (element21 !in objectArray.indices != !range1.contains(element21)) throw AssertionError()
if (!(element21 in objectArray.indices) != !range1.contains(element21)) throw AssertionError()
if (!(element21 !in objectArray.indices) != range1.contains(element21)) throw AssertionError()
}
fun testR1xE22() {
// with possible local optimizations
if (2.toFloat() in objectArray.indices != range1.contains(2.toFloat())) throw AssertionError()
if (2.toFloat() !in objectArray.indices != !range1.contains(2.toFloat())) throw AssertionError()
if (!(2.toFloat() in objectArray.indices) != !range1.contains(2.toFloat())) throw AssertionError()
if (!(2.toFloat() !in objectArray.indices) != range1.contains(2.toFloat())) throw AssertionError()
// no local optimizations
if (element22 in objectArray.indices != range1.contains(element22)) throw AssertionError()
if (element22 !in objectArray.indices != !range1.contains(element22)) throw AssertionError()
if (!(element22 in objectArray.indices) != !range1.contains(element22)) throw AssertionError()
if (!(element22 !in objectArray.indices) != range1.contains(element22)) throw AssertionError()
}
fun testR1xE23() {
// with possible local optimizations
if (2.toDouble() in objectArray.indices != range1.contains(2.toDouble())) throw AssertionError()
if (2.toDouble() !in objectArray.indices != !range1.contains(2.toDouble())) throw AssertionError()
if (!(2.toDouble() in objectArray.indices) != !range1.contains(2.toDouble())) throw AssertionError()
if (!(2.toDouble() !in objectArray.indices) != range1.contains(2.toDouble())) throw AssertionError()
// no local optimizations
if (element23 in objectArray.indices != range1.contains(element23)) throw AssertionError()
if (element23 !in objectArray.indices != !range1.contains(element23)) throw AssertionError()
if (!(element23 in objectArray.indices) != !range1.contains(element23)) throw AssertionError()
if (!(element23 !in objectArray.indices) != range1.contains(element23)) throw AssertionError()
}
fun testR1xE24() {
// with possible local optimizations
if (3.toByte() in objectArray.indices != range1.contains(3.toByte())) throw AssertionError()
if (3.toByte() !in objectArray.indices != !range1.contains(3.toByte())) throw AssertionError()
if (!(3.toByte() in objectArray.indices) != !range1.contains(3.toByte())) throw AssertionError()
if (!(3.toByte() !in objectArray.indices) != range1.contains(3.toByte())) throw AssertionError()
// no local optimizations
if (element24 in objectArray.indices != range1.contains(element24)) throw AssertionError()
if (element24 !in objectArray.indices != !range1.contains(element24)) throw AssertionError()
if (!(element24 in objectArray.indices) != !range1.contains(element24)) throw AssertionError()
if (!(element24 !in objectArray.indices) != range1.contains(element24)) throw AssertionError()
}
fun testR1xE25() {
// with possible local optimizations
if (3.toShort() in objectArray.indices != range1.contains(3.toShort())) throw AssertionError()
if (3.toShort() !in objectArray.indices != !range1.contains(3.toShort())) throw AssertionError()
if (!(3.toShort() in objectArray.indices) != !range1.contains(3.toShort())) throw AssertionError()
if (!(3.toShort() !in objectArray.indices) != range1.contains(3.toShort())) throw AssertionError()
// no local optimizations
if (element25 in objectArray.indices != range1.contains(element25)) throw AssertionError()
if (element25 !in objectArray.indices != !range1.contains(element25)) throw AssertionError()
if (!(element25 in objectArray.indices) != !range1.contains(element25)) throw AssertionError()
if (!(element25 !in objectArray.indices) != range1.contains(element25)) throw AssertionError()
}
fun testR1xE26() {
// with possible local optimizations
if (3 in objectArray.indices != range1.contains(3)) throw AssertionError()
if (3 !in objectArray.indices != !range1.contains(3)) throw AssertionError()
if (!(3 in objectArray.indices) != !range1.contains(3)) throw AssertionError()
if (!(3 !in objectArray.indices) != range1.contains(3)) throw AssertionError()
// no local optimizations
if (element26 in objectArray.indices != range1.contains(element26)) throw AssertionError()
if (element26 !in objectArray.indices != !range1.contains(element26)) throw AssertionError()
if (!(element26 in objectArray.indices) != !range1.contains(element26)) throw AssertionError()
if (!(element26 !in objectArray.indices) != range1.contains(element26)) throw AssertionError()
}
fun testR1xE27() {
// with possible local optimizations
if (3.toLong() in objectArray.indices != range1.contains(3.toLong())) throw AssertionError()
if (3.toLong() !in objectArray.indices != !range1.contains(3.toLong())) throw AssertionError()
if (!(3.toLong() in objectArray.indices) != !range1.contains(3.toLong())) throw AssertionError()
if (!(3.toLong() !in objectArray.indices) != range1.contains(3.toLong())) throw AssertionError()
// no local optimizations
if (element27 in objectArray.indices != range1.contains(element27)) throw AssertionError()
if (element27 !in objectArray.indices != !range1.contains(element27)) throw AssertionError()
if (!(element27 in objectArray.indices) != !range1.contains(element27)) throw AssertionError()
if (!(element27 !in objectArray.indices) != range1.contains(element27)) throw AssertionError()
}
fun testR1xE28() {
// with possible local optimizations
if (3.toFloat() in objectArray.indices != range1.contains(3.toFloat())) throw AssertionError()
if (3.toFloat() !in objectArray.indices != !range1.contains(3.toFloat())) throw AssertionError()
if (!(3.toFloat() in objectArray.indices) != !range1.contains(3.toFloat())) throw AssertionError()
if (!(3.toFloat() !in objectArray.indices) != range1.contains(3.toFloat())) throw AssertionError()
// no local optimizations
if (element28 in objectArray.indices != range1.contains(element28)) throw AssertionError()
if (element28 !in objectArray.indices != !range1.contains(element28)) throw AssertionError()
if (!(element28 in objectArray.indices) != !range1.contains(element28)) throw AssertionError()
if (!(element28 !in objectArray.indices) != range1.contains(element28)) throw AssertionError()
}
fun testR1xE29() {
// with possible local optimizations
if (3.toDouble() in objectArray.indices != range1.contains(3.toDouble())) throw AssertionError()
if (3.toDouble() !in objectArray.indices != !range1.contains(3.toDouble())) throw AssertionError()
if (!(3.toDouble() in objectArray.indices) != !range1.contains(3.toDouble())) throw AssertionError()
if (!(3.toDouble() !in objectArray.indices) != range1.contains(3.toDouble())) throw AssertionError()
// no local optimizations
if (element29 in objectArray.indices != range1.contains(element29)) throw AssertionError()
if (element29 !in objectArray.indices != !range1.contains(element29)) throw AssertionError()
if (!(element29 in objectArray.indices) != !range1.contains(element29)) throw AssertionError()
if (!(element29 !in objectArray.indices) != range1.contains(element29)) throw AssertionError()
}
fun testR1xE30() {
// with possible local optimizations
if (4.toByte() in objectArray.indices != range1.contains(4.toByte())) throw AssertionError()
if (4.toByte() !in objectArray.indices != !range1.contains(4.toByte())) throw AssertionError()
if (!(4.toByte() in objectArray.indices) != !range1.contains(4.toByte())) throw AssertionError()
if (!(4.toByte() !in objectArray.indices) != range1.contains(4.toByte())) throw AssertionError()
// no local optimizations
if (element30 in objectArray.indices != range1.contains(element30)) throw AssertionError()
if (element30 !in objectArray.indices != !range1.contains(element30)) throw AssertionError()
if (!(element30 in objectArray.indices) != !range1.contains(element30)) throw AssertionError()
if (!(element30 !in objectArray.indices) != range1.contains(element30)) throw AssertionError()
}
fun testR1xE31() {
// with possible local optimizations
if (4.toShort() in objectArray.indices != range1.contains(4.toShort())) throw AssertionError()
if (4.toShort() !in objectArray.indices != !range1.contains(4.toShort())) throw AssertionError()
if (!(4.toShort() in objectArray.indices) != !range1.contains(4.toShort())) throw AssertionError()
if (!(4.toShort() !in objectArray.indices) != range1.contains(4.toShort())) throw AssertionError()
// no local optimizations
if (element31 in objectArray.indices != range1.contains(element31)) throw AssertionError()
if (element31 !in objectArray.indices != !range1.contains(element31)) throw AssertionError()
if (!(element31 in objectArray.indices) != !range1.contains(element31)) throw AssertionError()
if (!(element31 !in objectArray.indices) != range1.contains(element31)) throw AssertionError()
}
fun testR1xE32() {
// with possible local optimizations
if (4 in objectArray.indices != range1.contains(4)) throw AssertionError()
if (4 !in objectArray.indices != !range1.contains(4)) throw AssertionError()
if (!(4 in objectArray.indices) != !range1.contains(4)) throw AssertionError()
if (!(4 !in objectArray.indices) != range1.contains(4)) throw AssertionError()
// no local optimizations
if (element32 in objectArray.indices != range1.contains(element32)) throw AssertionError()
if (element32 !in objectArray.indices != !range1.contains(element32)) throw AssertionError()
if (!(element32 in objectArray.indices) != !range1.contains(element32)) throw AssertionError()
if (!(element32 !in objectArray.indices) != range1.contains(element32)) throw AssertionError()
}
fun testR1xE33() {
// with possible local optimizations
if (4.toLong() in objectArray.indices != range1.contains(4.toLong())) throw AssertionError()
if (4.toLong() !in objectArray.indices != !range1.contains(4.toLong())) throw AssertionError()
if (!(4.toLong() in objectArray.indices) != !range1.contains(4.toLong())) throw AssertionError()
if (!(4.toLong() !in objectArray.indices) != range1.contains(4.toLong())) throw AssertionError()
// no local optimizations
if (element33 in objectArray.indices != range1.contains(element33)) throw AssertionError()
if (element33 !in objectArray.indices != !range1.contains(element33)) throw AssertionError()
if (!(element33 in objectArray.indices) != !range1.contains(element33)) throw AssertionError()
if (!(element33 !in objectArray.indices) != range1.contains(element33)) throw AssertionError()
}
fun testR1xE34() {
// with possible local optimizations
if (4.toFloat() in objectArray.indices != range1.contains(4.toFloat())) throw AssertionError()
if (4.toFloat() !in objectArray.indices != !range1.contains(4.toFloat())) throw AssertionError()
if (!(4.toFloat() in objectArray.indices) != !range1.contains(4.toFloat())) throw AssertionError()
if (!(4.toFloat() !in objectArray.indices) != range1.contains(4.toFloat())) throw AssertionError()
// no local optimizations
if (element34 in objectArray.indices != range1.contains(element34)) throw AssertionError()
if (element34 !in objectArray.indices != !range1.contains(element34)) throw AssertionError()
if (!(element34 in objectArray.indices) != !range1.contains(element34)) throw AssertionError()
if (!(element34 !in objectArray.indices) != range1.contains(element34)) throw AssertionError()
}
fun testR1xE35() {
// with possible local optimizations
if (4.toDouble() in objectArray.indices != range1.contains(4.toDouble())) throw AssertionError()
if (4.toDouble() !in objectArray.indices != !range1.contains(4.toDouble())) throw AssertionError()
if (!(4.toDouble() in objectArray.indices) != !range1.contains(4.toDouble())) throw AssertionError()
if (!(4.toDouble() !in objectArray.indices) != range1.contains(4.toDouble())) throw AssertionError()
// no local optimizations
if (element35 in objectArray.indices != range1.contains(element35)) throw AssertionError()
if (element35 !in objectArray.indices != !range1.contains(element35)) throw AssertionError()
if (!(element35 in objectArray.indices) != !range1.contains(element35)) throw AssertionError()
if (!(element35 !in objectArray.indices) != range1.contains(element35)) throw AssertionError()
}
fun testR2xE0() {
// with possible local optimizations
if ((-1).toByte() in emptyIntArray.indices != range2.contains((-1).toByte())) throw AssertionError()
if ((-1).toByte() !in emptyIntArray.indices != !range2.contains((-1).toByte())) throw AssertionError()
if (!((-1).toByte() in emptyIntArray.indices) != !range2.contains((-1).toByte())) throw AssertionError()
if (!((-1).toByte() !in emptyIntArray.indices) != range2.contains((-1).toByte())) throw AssertionError()
// no local optimizations
if (element0 in emptyIntArray.indices != range2.contains(element0)) throw AssertionError()
if (element0 !in emptyIntArray.indices != !range2.contains(element0)) throw AssertionError()
if (!(element0 in emptyIntArray.indices) != !range2.contains(element0)) throw AssertionError()
if (!(element0 !in emptyIntArray.indices) != range2.contains(element0)) throw AssertionError()
}
fun testR2xE1() {
// with possible local optimizations
if ((-1).toShort() in emptyIntArray.indices != range2.contains((-1).toShort())) throw AssertionError()
if ((-1).toShort() !in emptyIntArray.indices != !range2.contains((-1).toShort())) throw AssertionError()
if (!((-1).toShort() in emptyIntArray.indices) != !range2.contains((-1).toShort())) throw AssertionError()
if (!((-1).toShort() !in emptyIntArray.indices) != range2.contains((-1).toShort())) throw AssertionError()
// no local optimizations
if (element1 in emptyIntArray.indices != range2.contains(element1)) throw AssertionError()
if (element1 !in emptyIntArray.indices != !range2.contains(element1)) throw AssertionError()
if (!(element1 in emptyIntArray.indices) != !range2.contains(element1)) throw AssertionError()
if (!(element1 !in emptyIntArray.indices) != range2.contains(element1)) throw AssertionError()
}
fun testR2xE2() {
// with possible local optimizations
if ((-1) in emptyIntArray.indices != range2.contains((-1))) throw AssertionError()
if ((-1) !in emptyIntArray.indices != !range2.contains((-1))) throw AssertionError()
if (!((-1) in emptyIntArray.indices) != !range2.contains((-1))) throw AssertionError()
if (!((-1) !in emptyIntArray.indices) != range2.contains((-1))) throw AssertionError()
// no local optimizations
if (element2 in emptyIntArray.indices != range2.contains(element2)) throw AssertionError()
if (element2 !in emptyIntArray.indices != !range2.contains(element2)) throw AssertionError()
if (!(element2 in emptyIntArray.indices) != !range2.contains(element2)) throw AssertionError()
if (!(element2 !in emptyIntArray.indices) != range2.contains(element2)) throw AssertionError()
}
fun testR2xE3() {
// with possible local optimizations
if ((-1).toLong() in emptyIntArray.indices != range2.contains((-1).toLong())) throw AssertionError()
if ((-1).toLong() !in emptyIntArray.indices != !range2.contains((-1).toLong())) throw AssertionError()
if (!((-1).toLong() in emptyIntArray.indices) != !range2.contains((-1).toLong())) throw AssertionError()
if (!((-1).toLong() !in emptyIntArray.indices) != range2.contains((-1).toLong())) throw AssertionError()
// no local optimizations
if (element3 in emptyIntArray.indices != range2.contains(element3)) throw AssertionError()
if (element3 !in emptyIntArray.indices != !range2.contains(element3)) throw AssertionError()
if (!(element3 in emptyIntArray.indices) != !range2.contains(element3)) throw AssertionError()
if (!(element3 !in emptyIntArray.indices) != range2.contains(element3)) throw AssertionError()
}
fun testR2xE4() {
// with possible local optimizations
if ((-1).toFloat() in emptyIntArray.indices != range2.contains((-1).toFloat())) throw AssertionError()
if ((-1).toFloat() !in emptyIntArray.indices != !range2.contains((-1).toFloat())) throw AssertionError()
if (!((-1).toFloat() in emptyIntArray.indices) != !range2.contains((-1).toFloat())) throw AssertionError()
if (!((-1).toFloat() !in emptyIntArray.indices) != range2.contains((-1).toFloat())) throw AssertionError()
// no local optimizations
if (element4 in emptyIntArray.indices != range2.contains(element4)) throw AssertionError()
if (element4 !in emptyIntArray.indices != !range2.contains(element4)) throw AssertionError()
if (!(element4 in emptyIntArray.indices) != !range2.contains(element4)) throw AssertionError()
if (!(element4 !in emptyIntArray.indices) != range2.contains(element4)) throw AssertionError()
}
fun testR2xE5() {
// with possible local optimizations
if ((-1).toDouble() in emptyIntArray.indices != range2.contains((-1).toDouble())) throw AssertionError()
if ((-1).toDouble() !in emptyIntArray.indices != !range2.contains((-1).toDouble())) throw AssertionError()
if (!((-1).toDouble() in emptyIntArray.indices) != !range2.contains((-1).toDouble())) throw AssertionError()
if (!((-1).toDouble() !in emptyIntArray.indices) != range2.contains((-1).toDouble())) throw AssertionError()
// no local optimizations
if (element5 in emptyIntArray.indices != range2.contains(element5)) throw AssertionError()
if (element5 !in emptyIntArray.indices != !range2.contains(element5)) throw AssertionError()
if (!(element5 in emptyIntArray.indices) != !range2.contains(element5)) throw AssertionError()
if (!(element5 !in emptyIntArray.indices) != range2.contains(element5)) throw AssertionError()
}
fun testR2xE6() {
// with possible local optimizations
if (0.toByte() in emptyIntArray.indices != range2.contains(0.toByte())) throw AssertionError()
if (0.toByte() !in emptyIntArray.indices != !range2.contains(0.toByte())) throw AssertionError()
if (!(0.toByte() in emptyIntArray.indices) != !range2.contains(0.toByte())) throw AssertionError()
if (!(0.toByte() !in emptyIntArray.indices) != range2.contains(0.toByte())) throw AssertionError()
// no local optimizations
if (element6 in emptyIntArray.indices != range2.contains(element6)) throw AssertionError()
if (element6 !in emptyIntArray.indices != !range2.contains(element6)) throw AssertionError()
if (!(element6 in emptyIntArray.indices) != !range2.contains(element6)) throw AssertionError()
if (!(element6 !in emptyIntArray.indices) != range2.contains(element6)) throw AssertionError()
}
fun testR2xE7() {
// with possible local optimizations
if (0.toShort() in emptyIntArray.indices != range2.contains(0.toShort())) throw AssertionError()
if (0.toShort() !in emptyIntArray.indices != !range2.contains(0.toShort())) throw AssertionError()
if (!(0.toShort() in emptyIntArray.indices) != !range2.contains(0.toShort())) throw AssertionError()
if (!(0.toShort() !in emptyIntArray.indices) != range2.contains(0.toShort())) throw AssertionError()
// no local optimizations
if (element7 in emptyIntArray.indices != range2.contains(element7)) throw AssertionError()
if (element7 !in emptyIntArray.indices != !range2.contains(element7)) throw AssertionError()
if (!(element7 in emptyIntArray.indices) != !range2.contains(element7)) throw AssertionError()
if (!(element7 !in emptyIntArray.indices) != range2.contains(element7)) throw AssertionError()
}
fun testR2xE8() {
// with possible local optimizations
if (0 in emptyIntArray.indices != range2.contains(0)) throw AssertionError()
if (0 !in emptyIntArray.indices != !range2.contains(0)) throw AssertionError()
if (!(0 in emptyIntArray.indices) != !range2.contains(0)) throw AssertionError()
if (!(0 !in emptyIntArray.indices) != range2.contains(0)) throw AssertionError()
// no local optimizations
if (element8 in emptyIntArray.indices != range2.contains(element8)) throw AssertionError()
if (element8 !in emptyIntArray.indices != !range2.contains(element8)) throw AssertionError()
if (!(element8 in emptyIntArray.indices) != !range2.contains(element8)) throw AssertionError()
if (!(element8 !in emptyIntArray.indices) != range2.contains(element8)) throw AssertionError()
}
fun testR2xE9() {
// with possible local optimizations
if (0.toLong() in emptyIntArray.indices != range2.contains(0.toLong())) throw AssertionError()
if (0.toLong() !in emptyIntArray.indices != !range2.contains(0.toLong())) throw AssertionError()
if (!(0.toLong() in emptyIntArray.indices) != !range2.contains(0.toLong())) throw AssertionError()
if (!(0.toLong() !in emptyIntArray.indices) != range2.contains(0.toLong())) throw AssertionError()
// no local optimizations
if (element9 in emptyIntArray.indices != range2.contains(element9)) throw AssertionError()
if (element9 !in emptyIntArray.indices != !range2.contains(element9)) throw AssertionError()
if (!(element9 in emptyIntArray.indices) != !range2.contains(element9)) throw AssertionError()
if (!(element9 !in emptyIntArray.indices) != range2.contains(element9)) throw AssertionError()
}
fun testR2xE10() {
// with possible local optimizations
if (0.toFloat() in emptyIntArray.indices != range2.contains(0.toFloat())) throw AssertionError()
if (0.toFloat() !in emptyIntArray.indices != !range2.contains(0.toFloat())) throw AssertionError()
if (!(0.toFloat() in emptyIntArray.indices) != !range2.contains(0.toFloat())) throw AssertionError()
if (!(0.toFloat() !in emptyIntArray.indices) != range2.contains(0.toFloat())) throw AssertionError()
// no local optimizations
if (element10 in emptyIntArray.indices != range2.contains(element10)) throw AssertionError()
if (element10 !in emptyIntArray.indices != !range2.contains(element10)) throw AssertionError()
if (!(element10 in emptyIntArray.indices) != !range2.contains(element10)) throw AssertionError()
if (!(element10 !in emptyIntArray.indices) != range2.contains(element10)) throw AssertionError()
}
fun testR2xE11() {
// with possible local optimizations
if (0.toDouble() in emptyIntArray.indices != range2.contains(0.toDouble())) throw AssertionError()
if (0.toDouble() !in emptyIntArray.indices != !range2.contains(0.toDouble())) throw AssertionError()
if (!(0.toDouble() in emptyIntArray.indices) != !range2.contains(0.toDouble())) throw AssertionError()
if (!(0.toDouble() !in emptyIntArray.indices) != range2.contains(0.toDouble())) throw AssertionError()
// no local optimizations
if (element11 in emptyIntArray.indices != range2.contains(element11)) throw AssertionError()
if (element11 !in emptyIntArray.indices != !range2.contains(element11)) throw AssertionError()
if (!(element11 in emptyIntArray.indices) != !range2.contains(element11)) throw AssertionError()
if (!(element11 !in emptyIntArray.indices) != range2.contains(element11)) throw AssertionError()
}
fun testR2xE12() {
// with possible local optimizations
if (1.toByte() in emptyIntArray.indices != range2.contains(1.toByte())) throw AssertionError()
if (1.toByte() !in emptyIntArray.indices != !range2.contains(1.toByte())) throw AssertionError()
if (!(1.toByte() in emptyIntArray.indices) != !range2.contains(1.toByte())) throw AssertionError()
if (!(1.toByte() !in emptyIntArray.indices) != range2.contains(1.toByte())) throw AssertionError()
// no local optimizations
if (element12 in emptyIntArray.indices != range2.contains(element12)) throw AssertionError()
if (element12 !in emptyIntArray.indices != !range2.contains(element12)) throw AssertionError()
if (!(element12 in emptyIntArray.indices) != !range2.contains(element12)) throw AssertionError()
if (!(element12 !in emptyIntArray.indices) != range2.contains(element12)) throw AssertionError()
}
fun testR2xE13() {
// with possible local optimizations
if (1.toShort() in emptyIntArray.indices != range2.contains(1.toShort())) throw AssertionError()
if (1.toShort() !in emptyIntArray.indices != !range2.contains(1.toShort())) throw AssertionError()
if (!(1.toShort() in emptyIntArray.indices) != !range2.contains(1.toShort())) throw AssertionError()
if (!(1.toShort() !in emptyIntArray.indices) != range2.contains(1.toShort())) throw AssertionError()
// no local optimizations
if (element13 in emptyIntArray.indices != range2.contains(element13)) throw AssertionError()
if (element13 !in emptyIntArray.indices != !range2.contains(element13)) throw AssertionError()
if (!(element13 in emptyIntArray.indices) != !range2.contains(element13)) throw AssertionError()
if (!(element13 !in emptyIntArray.indices) != range2.contains(element13)) throw AssertionError()
}
fun testR2xE14() {
// with possible local optimizations
if (1 in emptyIntArray.indices != range2.contains(1)) throw AssertionError()
if (1 !in emptyIntArray.indices != !range2.contains(1)) throw AssertionError()
if (!(1 in emptyIntArray.indices) != !range2.contains(1)) throw AssertionError()
if (!(1 !in emptyIntArray.indices) != range2.contains(1)) throw AssertionError()
// no local optimizations
if (element14 in emptyIntArray.indices != range2.contains(element14)) throw AssertionError()
if (element14 !in emptyIntArray.indices != !range2.contains(element14)) throw AssertionError()
if (!(element14 in emptyIntArray.indices) != !range2.contains(element14)) throw AssertionError()
if (!(element14 !in emptyIntArray.indices) != range2.contains(element14)) throw AssertionError()
}
fun testR2xE15() {
// with possible local optimizations
if (1.toLong() in emptyIntArray.indices != range2.contains(1.toLong())) throw AssertionError()
if (1.toLong() !in emptyIntArray.indices != !range2.contains(1.toLong())) throw AssertionError()
if (!(1.toLong() in emptyIntArray.indices) != !range2.contains(1.toLong())) throw AssertionError()
if (!(1.toLong() !in emptyIntArray.indices) != range2.contains(1.toLong())) throw AssertionError()
// no local optimizations
if (element15 in emptyIntArray.indices != range2.contains(element15)) throw AssertionError()
if (element15 !in emptyIntArray.indices != !range2.contains(element15)) throw AssertionError()
if (!(element15 in emptyIntArray.indices) != !range2.contains(element15)) throw AssertionError()
if (!(element15 !in emptyIntArray.indices) != range2.contains(element15)) throw AssertionError()
}
fun testR2xE16() {
// with possible local optimizations
if (1.toFloat() in emptyIntArray.indices != range2.contains(1.toFloat())) throw AssertionError()
if (1.toFloat() !in emptyIntArray.indices != !range2.contains(1.toFloat())) throw AssertionError()
if (!(1.toFloat() in emptyIntArray.indices) != !range2.contains(1.toFloat())) throw AssertionError()
if (!(1.toFloat() !in emptyIntArray.indices) != range2.contains(1.toFloat())) throw AssertionError()
// no local optimizations
if (element16 in emptyIntArray.indices != range2.contains(element16)) throw AssertionError()
if (element16 !in emptyIntArray.indices != !range2.contains(element16)) throw AssertionError()
if (!(element16 in emptyIntArray.indices) != !range2.contains(element16)) throw AssertionError()
if (!(element16 !in emptyIntArray.indices) != range2.contains(element16)) throw AssertionError()
}
fun testR2xE17() {
// with possible local optimizations
if (1.toDouble() in emptyIntArray.indices != range2.contains(1.toDouble())) throw AssertionError()
if (1.toDouble() !in emptyIntArray.indices != !range2.contains(1.toDouble())) throw AssertionError()
if (!(1.toDouble() in emptyIntArray.indices) != !range2.contains(1.toDouble())) throw AssertionError()
if (!(1.toDouble() !in emptyIntArray.indices) != range2.contains(1.toDouble())) throw AssertionError()
// no local optimizations
if (element17 in emptyIntArray.indices != range2.contains(element17)) throw AssertionError()
if (element17 !in emptyIntArray.indices != !range2.contains(element17)) throw AssertionError()
if (!(element17 in emptyIntArray.indices) != !range2.contains(element17)) throw AssertionError()
if (!(element17 !in emptyIntArray.indices) != range2.contains(element17)) throw AssertionError()
}
fun testR2xE18() {
// with possible local optimizations
if (2.toByte() in emptyIntArray.indices != range2.contains(2.toByte())) throw AssertionError()
if (2.toByte() !in emptyIntArray.indices != !range2.contains(2.toByte())) throw AssertionError()
if (!(2.toByte() in emptyIntArray.indices) != !range2.contains(2.toByte())) throw AssertionError()
if (!(2.toByte() !in emptyIntArray.indices) != range2.contains(2.toByte())) throw AssertionError()
// no local optimizations
if (element18 in emptyIntArray.indices != range2.contains(element18)) throw AssertionError()
if (element18 !in emptyIntArray.indices != !range2.contains(element18)) throw AssertionError()
if (!(element18 in emptyIntArray.indices) != !range2.contains(element18)) throw AssertionError()
if (!(element18 !in emptyIntArray.indices) != range2.contains(element18)) throw AssertionError()
}
fun testR2xE19() {
// with possible local optimizations
if (2.toShort() in emptyIntArray.indices != range2.contains(2.toShort())) throw AssertionError()
if (2.toShort() !in emptyIntArray.indices != !range2.contains(2.toShort())) throw AssertionError()
if (!(2.toShort() in emptyIntArray.indices) != !range2.contains(2.toShort())) throw AssertionError()
if (!(2.toShort() !in emptyIntArray.indices) != range2.contains(2.toShort())) throw AssertionError()
// no local optimizations
if (element19 in emptyIntArray.indices != range2.contains(element19)) throw AssertionError()
if (element19 !in emptyIntArray.indices != !range2.contains(element19)) throw AssertionError()
if (!(element19 in emptyIntArray.indices) != !range2.contains(element19)) throw AssertionError()
if (!(element19 !in emptyIntArray.indices) != range2.contains(element19)) throw AssertionError()
}
fun testR2xE20() {
// with possible local optimizations
if (2 in emptyIntArray.indices != range2.contains(2)) throw AssertionError()
if (2 !in emptyIntArray.indices != !range2.contains(2)) throw AssertionError()
if (!(2 in emptyIntArray.indices) != !range2.contains(2)) throw AssertionError()
if (!(2 !in emptyIntArray.indices) != range2.contains(2)) throw AssertionError()
// no local optimizations
if (element20 in emptyIntArray.indices != range2.contains(element20)) throw AssertionError()
if (element20 !in emptyIntArray.indices != !range2.contains(element20)) throw AssertionError()
if (!(element20 in emptyIntArray.indices) != !range2.contains(element20)) throw AssertionError()
if (!(element20 !in emptyIntArray.indices) != range2.contains(element20)) throw AssertionError()
}
fun testR2xE21() {
// with possible local optimizations
if (2.toLong() in emptyIntArray.indices != range2.contains(2.toLong())) throw AssertionError()
if (2.toLong() !in emptyIntArray.indices != !range2.contains(2.toLong())) throw AssertionError()
if (!(2.toLong() in emptyIntArray.indices) != !range2.contains(2.toLong())) throw AssertionError()
if (!(2.toLong() !in emptyIntArray.indices) != range2.contains(2.toLong())) throw AssertionError()
// no local optimizations
if (element21 in emptyIntArray.indices != range2.contains(element21)) throw AssertionError()
if (element21 !in emptyIntArray.indices != !range2.contains(element21)) throw AssertionError()
if (!(element21 in emptyIntArray.indices) != !range2.contains(element21)) throw AssertionError()
if (!(element21 !in emptyIntArray.indices) != range2.contains(element21)) throw AssertionError()
}
fun testR2xE22() {
// with possible local optimizations
if (2.toFloat() in emptyIntArray.indices != range2.contains(2.toFloat())) throw AssertionError()
if (2.toFloat() !in emptyIntArray.indices != !range2.contains(2.toFloat())) throw AssertionError()
if (!(2.toFloat() in emptyIntArray.indices) != !range2.contains(2.toFloat())) throw AssertionError()
if (!(2.toFloat() !in emptyIntArray.indices) != range2.contains(2.toFloat())) throw AssertionError()
// no local optimizations
if (element22 in emptyIntArray.indices != range2.contains(element22)) throw AssertionError()
if (element22 !in emptyIntArray.indices != !range2.contains(element22)) throw AssertionError()
if (!(element22 in emptyIntArray.indices) != !range2.contains(element22)) throw AssertionError()
if (!(element22 !in emptyIntArray.indices) != range2.contains(element22)) throw AssertionError()
}
fun testR2xE23() {
// with possible local optimizations
if (2.toDouble() in emptyIntArray.indices != range2.contains(2.toDouble())) throw AssertionError()
if (2.toDouble() !in emptyIntArray.indices != !range2.contains(2.toDouble())) throw AssertionError()
if (!(2.toDouble() in emptyIntArray.indices) != !range2.contains(2.toDouble())) throw AssertionError()
if (!(2.toDouble() !in emptyIntArray.indices) != range2.contains(2.toDouble())) throw AssertionError()
// no local optimizations
if (element23 in emptyIntArray.indices != range2.contains(element23)) throw AssertionError()
if (element23 !in emptyIntArray.indices != !range2.contains(element23)) throw AssertionError()
if (!(element23 in emptyIntArray.indices) != !range2.contains(element23)) throw AssertionError()
if (!(element23 !in emptyIntArray.indices) != range2.contains(element23)) throw AssertionError()
}
fun testR2xE24() {
// with possible local optimizations
if (3.toByte() in emptyIntArray.indices != range2.contains(3.toByte())) throw AssertionError()
if (3.toByte() !in emptyIntArray.indices != !range2.contains(3.toByte())) throw AssertionError()
if (!(3.toByte() in emptyIntArray.indices) != !range2.contains(3.toByte())) throw AssertionError()
if (!(3.toByte() !in emptyIntArray.indices) != range2.contains(3.toByte())) throw AssertionError()
// no local optimizations
if (element24 in emptyIntArray.indices != range2.contains(element24)) throw AssertionError()
if (element24 !in emptyIntArray.indices != !range2.contains(element24)) throw AssertionError()
if (!(element24 in emptyIntArray.indices) != !range2.contains(element24)) throw AssertionError()
if (!(element24 !in emptyIntArray.indices) != range2.contains(element24)) throw AssertionError()
}
fun testR2xE25() {
// with possible local optimizations
if (3.toShort() in emptyIntArray.indices != range2.contains(3.toShort())) throw AssertionError()
if (3.toShort() !in emptyIntArray.indices != !range2.contains(3.toShort())) throw AssertionError()
if (!(3.toShort() in emptyIntArray.indices) != !range2.contains(3.toShort())) throw AssertionError()
if (!(3.toShort() !in emptyIntArray.indices) != range2.contains(3.toShort())) throw AssertionError()
// no local optimizations
if (element25 in emptyIntArray.indices != range2.contains(element25)) throw AssertionError()
if (element25 !in emptyIntArray.indices != !range2.contains(element25)) throw AssertionError()
if (!(element25 in emptyIntArray.indices) != !range2.contains(element25)) throw AssertionError()
if (!(element25 !in emptyIntArray.indices) != range2.contains(element25)) throw AssertionError()
}
fun testR2xE26() {
// with possible local optimizations
if (3 in emptyIntArray.indices != range2.contains(3)) throw AssertionError()
if (3 !in emptyIntArray.indices != !range2.contains(3)) throw AssertionError()
if (!(3 in emptyIntArray.indices) != !range2.contains(3)) throw AssertionError()
if (!(3 !in emptyIntArray.indices) != range2.contains(3)) throw AssertionError()
// no local optimizations
if (element26 in emptyIntArray.indices != range2.contains(element26)) throw AssertionError()
if (element26 !in emptyIntArray.indices != !range2.contains(element26)) throw AssertionError()
if (!(element26 in emptyIntArray.indices) != !range2.contains(element26)) throw AssertionError()
if (!(element26 !in emptyIntArray.indices) != range2.contains(element26)) throw AssertionError()
}
fun testR2xE27() {
// with possible local optimizations
if (3.toLong() in emptyIntArray.indices != range2.contains(3.toLong())) throw AssertionError()
if (3.toLong() !in emptyIntArray.indices != !range2.contains(3.toLong())) throw AssertionError()
if (!(3.toLong() in emptyIntArray.indices) != !range2.contains(3.toLong())) throw AssertionError()
if (!(3.toLong() !in emptyIntArray.indices) != range2.contains(3.toLong())) throw AssertionError()
// no local optimizations
if (element27 in emptyIntArray.indices != range2.contains(element27)) throw AssertionError()
if (element27 !in emptyIntArray.indices != !range2.contains(element27)) throw AssertionError()
if (!(element27 in emptyIntArray.indices) != !range2.contains(element27)) throw AssertionError()
if (!(element27 !in emptyIntArray.indices) != range2.contains(element27)) throw AssertionError()
}
fun testR2xE28() {
// with possible local optimizations
if (3.toFloat() in emptyIntArray.indices != range2.contains(3.toFloat())) throw AssertionError()
if (3.toFloat() !in emptyIntArray.indices != !range2.contains(3.toFloat())) throw AssertionError()
if (!(3.toFloat() in emptyIntArray.indices) != !range2.contains(3.toFloat())) throw AssertionError()
if (!(3.toFloat() !in emptyIntArray.indices) != range2.contains(3.toFloat())) throw AssertionError()
// no local optimizations
if (element28 in emptyIntArray.indices != range2.contains(element28)) throw AssertionError()
if (element28 !in emptyIntArray.indices != !range2.contains(element28)) throw AssertionError()
if (!(element28 in emptyIntArray.indices) != !range2.contains(element28)) throw AssertionError()
if (!(element28 !in emptyIntArray.indices) != range2.contains(element28)) throw AssertionError()
}
fun testR2xE29() {
// with possible local optimizations
if (3.toDouble() in emptyIntArray.indices != range2.contains(3.toDouble())) throw AssertionError()
if (3.toDouble() !in emptyIntArray.indices != !range2.contains(3.toDouble())) throw AssertionError()
if (!(3.toDouble() in emptyIntArray.indices) != !range2.contains(3.toDouble())) throw AssertionError()
if (!(3.toDouble() !in emptyIntArray.indices) != range2.contains(3.toDouble())) throw AssertionError()
// no local optimizations
if (element29 in emptyIntArray.indices != range2.contains(element29)) throw AssertionError()
if (element29 !in emptyIntArray.indices != !range2.contains(element29)) throw AssertionError()
if (!(element29 in emptyIntArray.indices) != !range2.contains(element29)) throw AssertionError()
if (!(element29 !in emptyIntArray.indices) != range2.contains(element29)) throw AssertionError()
}
fun testR2xE30() {
// with possible local optimizations
if (4.toByte() in emptyIntArray.indices != range2.contains(4.toByte())) throw AssertionError()
if (4.toByte() !in emptyIntArray.indices != !range2.contains(4.toByte())) throw AssertionError()
if (!(4.toByte() in emptyIntArray.indices) != !range2.contains(4.toByte())) throw AssertionError()
if (!(4.toByte() !in emptyIntArray.indices) != range2.contains(4.toByte())) throw AssertionError()
// no local optimizations
if (element30 in emptyIntArray.indices != range2.contains(element30)) throw AssertionError()
if (element30 !in emptyIntArray.indices != !range2.contains(element30)) throw AssertionError()
if (!(element30 in emptyIntArray.indices) != !range2.contains(element30)) throw AssertionError()
if (!(element30 !in emptyIntArray.indices) != range2.contains(element30)) throw AssertionError()
}
fun testR2xE31() {
// with possible local optimizations
if (4.toShort() in emptyIntArray.indices != range2.contains(4.toShort())) throw AssertionError()
if (4.toShort() !in emptyIntArray.indices != !range2.contains(4.toShort())) throw AssertionError()
if (!(4.toShort() in emptyIntArray.indices) != !range2.contains(4.toShort())) throw AssertionError()
if (!(4.toShort() !in emptyIntArray.indices) != range2.contains(4.toShort())) throw AssertionError()
// no local optimizations
if (element31 in emptyIntArray.indices != range2.contains(element31)) throw AssertionError()
if (element31 !in emptyIntArray.indices != !range2.contains(element31)) throw AssertionError()
if (!(element31 in emptyIntArray.indices) != !range2.contains(element31)) throw AssertionError()
if (!(element31 !in emptyIntArray.indices) != range2.contains(element31)) throw AssertionError()
}
fun testR2xE32() {
// with possible local optimizations
if (4 in emptyIntArray.indices != range2.contains(4)) throw AssertionError()
if (4 !in emptyIntArray.indices != !range2.contains(4)) throw AssertionError()
if (!(4 in emptyIntArray.indices) != !range2.contains(4)) throw AssertionError()
if (!(4 !in emptyIntArray.indices) != range2.contains(4)) throw AssertionError()
// no local optimizations
if (element32 in emptyIntArray.indices != range2.contains(element32)) throw AssertionError()
if (element32 !in emptyIntArray.indices != !range2.contains(element32)) throw AssertionError()
if (!(element32 in emptyIntArray.indices) != !range2.contains(element32)) throw AssertionError()
if (!(element32 !in emptyIntArray.indices) != range2.contains(element32)) throw AssertionError()
}
fun testR2xE33() {
// with possible local optimizations
if (4.toLong() in emptyIntArray.indices != range2.contains(4.toLong())) throw AssertionError()
if (4.toLong() !in emptyIntArray.indices != !range2.contains(4.toLong())) throw AssertionError()
if (!(4.toLong() in emptyIntArray.indices) != !range2.contains(4.toLong())) throw AssertionError()
if (!(4.toLong() !in emptyIntArray.indices) != range2.contains(4.toLong())) throw AssertionError()
// no local optimizations
if (element33 in emptyIntArray.indices != range2.contains(element33)) throw AssertionError()
if (element33 !in emptyIntArray.indices != !range2.contains(element33)) throw AssertionError()
if (!(element33 in emptyIntArray.indices) != !range2.contains(element33)) throw AssertionError()
if (!(element33 !in emptyIntArray.indices) != range2.contains(element33)) throw AssertionError()
}
fun testR2xE34() {
// with possible local optimizations
if (4.toFloat() in emptyIntArray.indices != range2.contains(4.toFloat())) throw AssertionError()
if (4.toFloat() !in emptyIntArray.indices != !range2.contains(4.toFloat())) throw AssertionError()
if (!(4.toFloat() in emptyIntArray.indices) != !range2.contains(4.toFloat())) throw AssertionError()
if (!(4.toFloat() !in emptyIntArray.indices) != range2.contains(4.toFloat())) throw AssertionError()
// no local optimizations
if (element34 in emptyIntArray.indices != range2.contains(element34)) throw AssertionError()
if (element34 !in emptyIntArray.indices != !range2.contains(element34)) throw AssertionError()
if (!(element34 in emptyIntArray.indices) != !range2.contains(element34)) throw AssertionError()
if (!(element34 !in emptyIntArray.indices) != range2.contains(element34)) throw AssertionError()
}
fun testR2xE35() {
// with possible local optimizations
if (4.toDouble() in emptyIntArray.indices != range2.contains(4.toDouble())) throw AssertionError()
if (4.toDouble() !in emptyIntArray.indices != !range2.contains(4.toDouble())) throw AssertionError()
if (!(4.toDouble() in emptyIntArray.indices) != !range2.contains(4.toDouble())) throw AssertionError()
if (!(4.toDouble() !in emptyIntArray.indices) != range2.contains(4.toDouble())) throw AssertionError()
// no local optimizations
if (element35 in emptyIntArray.indices != range2.contains(element35)) throw AssertionError()
if (element35 !in emptyIntArray.indices != !range2.contains(element35)) throw AssertionError()
if (!(element35 in emptyIntArray.indices) != !range2.contains(element35)) throw AssertionError()
if (!(element35 !in emptyIntArray.indices) != range2.contains(element35)) throw AssertionError()
}
fun testR3xE0() {
// with possible local optimizations
if ((-1).toByte() in emptyObjectArray.indices != range3.contains((-1).toByte())) throw AssertionError()
if ((-1).toByte() !in emptyObjectArray.indices != !range3.contains((-1).toByte())) throw AssertionError()
if (!((-1).toByte() in emptyObjectArray.indices) != !range3.contains((-1).toByte())) throw AssertionError()
if (!((-1).toByte() !in emptyObjectArray.indices) != range3.contains((-1).toByte())) throw AssertionError()
// no local optimizations
if (element0 in emptyObjectArray.indices != range3.contains(element0)) throw AssertionError()
if (element0 !in emptyObjectArray.indices != !range3.contains(element0)) throw AssertionError()
if (!(element0 in emptyObjectArray.indices) != !range3.contains(element0)) throw AssertionError()
if (!(element0 !in emptyObjectArray.indices) != range3.contains(element0)) throw AssertionError()
}
fun testR3xE1() {
// with possible local optimizations
if ((-1).toShort() in emptyObjectArray.indices != range3.contains((-1).toShort())) throw AssertionError()
if ((-1).toShort() !in emptyObjectArray.indices != !range3.contains((-1).toShort())) throw AssertionError()
if (!((-1).toShort() in emptyObjectArray.indices) != !range3.contains((-1).toShort())) throw AssertionError()
if (!((-1).toShort() !in emptyObjectArray.indices) != range3.contains((-1).toShort())) throw AssertionError()
// no local optimizations
if (element1 in emptyObjectArray.indices != range3.contains(element1)) throw AssertionError()
if (element1 !in emptyObjectArray.indices != !range3.contains(element1)) throw AssertionError()
if (!(element1 in emptyObjectArray.indices) != !range3.contains(element1)) throw AssertionError()
if (!(element1 !in emptyObjectArray.indices) != range3.contains(element1)) throw AssertionError()
}
fun testR3xE2() {
// with possible local optimizations
if ((-1) in emptyObjectArray.indices != range3.contains((-1))) throw AssertionError()
if ((-1) !in emptyObjectArray.indices != !range3.contains((-1))) throw AssertionError()
if (!((-1) in emptyObjectArray.indices) != !range3.contains((-1))) throw AssertionError()
if (!((-1) !in emptyObjectArray.indices) != range3.contains((-1))) throw AssertionError()
// no local optimizations
if (element2 in emptyObjectArray.indices != range3.contains(element2)) throw AssertionError()
if (element2 !in emptyObjectArray.indices != !range3.contains(element2)) throw AssertionError()
if (!(element2 in emptyObjectArray.indices) != !range3.contains(element2)) throw AssertionError()
if (!(element2 !in emptyObjectArray.indices) != range3.contains(element2)) throw AssertionError()
}
fun testR3xE3() {
// with possible local optimizations
if ((-1).toLong() in emptyObjectArray.indices != range3.contains((-1).toLong())) throw AssertionError()
if ((-1).toLong() !in emptyObjectArray.indices != !range3.contains((-1).toLong())) throw AssertionError()
if (!((-1).toLong() in emptyObjectArray.indices) != !range3.contains((-1).toLong())) throw AssertionError()
if (!((-1).toLong() !in emptyObjectArray.indices) != range3.contains((-1).toLong())) throw AssertionError()
// no local optimizations
if (element3 in emptyObjectArray.indices != range3.contains(element3)) throw AssertionError()
if (element3 !in emptyObjectArray.indices != !range3.contains(element3)) throw AssertionError()
if (!(element3 in emptyObjectArray.indices) != !range3.contains(element3)) throw AssertionError()
if (!(element3 !in emptyObjectArray.indices) != range3.contains(element3)) throw AssertionError()
}
fun testR3xE4() {
// with possible local optimizations
if ((-1).toFloat() in emptyObjectArray.indices != range3.contains((-1).toFloat())) throw AssertionError()
if ((-1).toFloat() !in emptyObjectArray.indices != !range3.contains((-1).toFloat())) throw AssertionError()
if (!((-1).toFloat() in emptyObjectArray.indices) != !range3.contains((-1).toFloat())) throw AssertionError()
if (!((-1).toFloat() !in emptyObjectArray.indices) != range3.contains((-1).toFloat())) throw AssertionError()
// no local optimizations
if (element4 in emptyObjectArray.indices != range3.contains(element4)) throw AssertionError()
if (element4 !in emptyObjectArray.indices != !range3.contains(element4)) throw AssertionError()
if (!(element4 in emptyObjectArray.indices) != !range3.contains(element4)) throw AssertionError()
if (!(element4 !in emptyObjectArray.indices) != range3.contains(element4)) throw AssertionError()
}
fun testR3xE5() {
// with possible local optimizations
if ((-1).toDouble() in emptyObjectArray.indices != range3.contains((-1).toDouble())) throw AssertionError()
if ((-1).toDouble() !in emptyObjectArray.indices != !range3.contains((-1).toDouble())) throw AssertionError()
if (!((-1).toDouble() in emptyObjectArray.indices) != !range3.contains((-1).toDouble())) throw AssertionError()
if (!((-1).toDouble() !in emptyObjectArray.indices) != range3.contains((-1).toDouble())) throw AssertionError()
// no local optimizations
if (element5 in emptyObjectArray.indices != range3.contains(element5)) throw AssertionError()
if (element5 !in emptyObjectArray.indices != !range3.contains(element5)) throw AssertionError()
if (!(element5 in emptyObjectArray.indices) != !range3.contains(element5)) throw AssertionError()
if (!(element5 !in emptyObjectArray.indices) != range3.contains(element5)) throw AssertionError()
}
fun testR3xE6() {
// with possible local optimizations
if (0.toByte() in emptyObjectArray.indices != range3.contains(0.toByte())) throw AssertionError()
if (0.toByte() !in emptyObjectArray.indices != !range3.contains(0.toByte())) throw AssertionError()
if (!(0.toByte() in emptyObjectArray.indices) != !range3.contains(0.toByte())) throw AssertionError()
if (!(0.toByte() !in emptyObjectArray.indices) != range3.contains(0.toByte())) throw AssertionError()
// no local optimizations
if (element6 in emptyObjectArray.indices != range3.contains(element6)) throw AssertionError()
if (element6 !in emptyObjectArray.indices != !range3.contains(element6)) throw AssertionError()
if (!(element6 in emptyObjectArray.indices) != !range3.contains(element6)) throw AssertionError()
if (!(element6 !in emptyObjectArray.indices) != range3.contains(element6)) throw AssertionError()
}
fun testR3xE7() {
// with possible local optimizations
if (0.toShort() in emptyObjectArray.indices != range3.contains(0.toShort())) throw AssertionError()
if (0.toShort() !in emptyObjectArray.indices != !range3.contains(0.toShort())) throw AssertionError()
if (!(0.toShort() in emptyObjectArray.indices) != !range3.contains(0.toShort())) throw AssertionError()
if (!(0.toShort() !in emptyObjectArray.indices) != range3.contains(0.toShort())) throw AssertionError()
// no local optimizations
if (element7 in emptyObjectArray.indices != range3.contains(element7)) throw AssertionError()
if (element7 !in emptyObjectArray.indices != !range3.contains(element7)) throw AssertionError()
if (!(element7 in emptyObjectArray.indices) != !range3.contains(element7)) throw AssertionError()
if (!(element7 !in emptyObjectArray.indices) != range3.contains(element7)) throw AssertionError()
}
fun testR3xE8() {
// with possible local optimizations
if (0 in emptyObjectArray.indices != range3.contains(0)) throw AssertionError()
if (0 !in emptyObjectArray.indices != !range3.contains(0)) throw AssertionError()
if (!(0 in emptyObjectArray.indices) != !range3.contains(0)) throw AssertionError()
if (!(0 !in emptyObjectArray.indices) != range3.contains(0)) throw AssertionError()
// no local optimizations
if (element8 in emptyObjectArray.indices != range3.contains(element8)) throw AssertionError()
if (element8 !in emptyObjectArray.indices != !range3.contains(element8)) throw AssertionError()
if (!(element8 in emptyObjectArray.indices) != !range3.contains(element8)) throw AssertionError()
if (!(element8 !in emptyObjectArray.indices) != range3.contains(element8)) throw AssertionError()
}
fun testR3xE9() {
// with possible local optimizations
if (0.toLong() in emptyObjectArray.indices != range3.contains(0.toLong())) throw AssertionError()
if (0.toLong() !in emptyObjectArray.indices != !range3.contains(0.toLong())) throw AssertionError()
if (!(0.toLong() in emptyObjectArray.indices) != !range3.contains(0.toLong())) throw AssertionError()
if (!(0.toLong() !in emptyObjectArray.indices) != range3.contains(0.toLong())) throw AssertionError()
// no local optimizations
if (element9 in emptyObjectArray.indices != range3.contains(element9)) throw AssertionError()
if (element9 !in emptyObjectArray.indices != !range3.contains(element9)) throw AssertionError()
if (!(element9 in emptyObjectArray.indices) != !range3.contains(element9)) throw AssertionError()
if (!(element9 !in emptyObjectArray.indices) != range3.contains(element9)) throw AssertionError()
}
fun testR3xE10() {
// with possible local optimizations
if (0.toFloat() in emptyObjectArray.indices != range3.contains(0.toFloat())) throw AssertionError()
if (0.toFloat() !in emptyObjectArray.indices != !range3.contains(0.toFloat())) throw AssertionError()
if (!(0.toFloat() in emptyObjectArray.indices) != !range3.contains(0.toFloat())) throw AssertionError()
if (!(0.toFloat() !in emptyObjectArray.indices) != range3.contains(0.toFloat())) throw AssertionError()
// no local optimizations
if (element10 in emptyObjectArray.indices != range3.contains(element10)) throw AssertionError()
if (element10 !in emptyObjectArray.indices != !range3.contains(element10)) throw AssertionError()
if (!(element10 in emptyObjectArray.indices) != !range3.contains(element10)) throw AssertionError()
if (!(element10 !in emptyObjectArray.indices) != range3.contains(element10)) throw AssertionError()
}
fun testR3xE11() {
// with possible local optimizations
if (0.toDouble() in emptyObjectArray.indices != range3.contains(0.toDouble())) throw AssertionError()
if (0.toDouble() !in emptyObjectArray.indices != !range3.contains(0.toDouble())) throw AssertionError()
if (!(0.toDouble() in emptyObjectArray.indices) != !range3.contains(0.toDouble())) throw AssertionError()
if (!(0.toDouble() !in emptyObjectArray.indices) != range3.contains(0.toDouble())) throw AssertionError()
// no local optimizations
if (element11 in emptyObjectArray.indices != range3.contains(element11)) throw AssertionError()
if (element11 !in emptyObjectArray.indices != !range3.contains(element11)) throw AssertionError()
if (!(element11 in emptyObjectArray.indices) != !range3.contains(element11)) throw AssertionError()
if (!(element11 !in emptyObjectArray.indices) != range3.contains(element11)) throw AssertionError()
}
fun testR3xE12() {
// with possible local optimizations
if (1.toByte() in emptyObjectArray.indices != range3.contains(1.toByte())) throw AssertionError()
if (1.toByte() !in emptyObjectArray.indices != !range3.contains(1.toByte())) throw AssertionError()
if (!(1.toByte() in emptyObjectArray.indices) != !range3.contains(1.toByte())) throw AssertionError()
if (!(1.toByte() !in emptyObjectArray.indices) != range3.contains(1.toByte())) throw AssertionError()
// no local optimizations
if (element12 in emptyObjectArray.indices != range3.contains(element12)) throw AssertionError()
if (element12 !in emptyObjectArray.indices != !range3.contains(element12)) throw AssertionError()
if (!(element12 in emptyObjectArray.indices) != !range3.contains(element12)) throw AssertionError()
if (!(element12 !in emptyObjectArray.indices) != range3.contains(element12)) throw AssertionError()
}
fun testR3xE13() {
// with possible local optimizations
if (1.toShort() in emptyObjectArray.indices != range3.contains(1.toShort())) throw AssertionError()
if (1.toShort() !in emptyObjectArray.indices != !range3.contains(1.toShort())) throw AssertionError()
if (!(1.toShort() in emptyObjectArray.indices) != !range3.contains(1.toShort())) throw AssertionError()
if (!(1.toShort() !in emptyObjectArray.indices) != range3.contains(1.toShort())) throw AssertionError()
// no local optimizations
if (element13 in emptyObjectArray.indices != range3.contains(element13)) throw AssertionError()
if (element13 !in emptyObjectArray.indices != !range3.contains(element13)) throw AssertionError()
if (!(element13 in emptyObjectArray.indices) != !range3.contains(element13)) throw AssertionError()
if (!(element13 !in emptyObjectArray.indices) != range3.contains(element13)) throw AssertionError()
}
fun testR3xE14() {
// with possible local optimizations
if (1 in emptyObjectArray.indices != range3.contains(1)) throw AssertionError()
if (1 !in emptyObjectArray.indices != !range3.contains(1)) throw AssertionError()
if (!(1 in emptyObjectArray.indices) != !range3.contains(1)) throw AssertionError()
if (!(1 !in emptyObjectArray.indices) != range3.contains(1)) throw AssertionError()
// no local optimizations
if (element14 in emptyObjectArray.indices != range3.contains(element14)) throw AssertionError()
if (element14 !in emptyObjectArray.indices != !range3.contains(element14)) throw AssertionError()
if (!(element14 in emptyObjectArray.indices) != !range3.contains(element14)) throw AssertionError()
if (!(element14 !in emptyObjectArray.indices) != range3.contains(element14)) throw AssertionError()
}
fun testR3xE15() {
// with possible local optimizations
if (1.toLong() in emptyObjectArray.indices != range3.contains(1.toLong())) throw AssertionError()
if (1.toLong() !in emptyObjectArray.indices != !range3.contains(1.toLong())) throw AssertionError()
if (!(1.toLong() in emptyObjectArray.indices) != !range3.contains(1.toLong())) throw AssertionError()
if (!(1.toLong() !in emptyObjectArray.indices) != range3.contains(1.toLong())) throw AssertionError()
// no local optimizations
if (element15 in emptyObjectArray.indices != range3.contains(element15)) throw AssertionError()
if (element15 !in emptyObjectArray.indices != !range3.contains(element15)) throw AssertionError()
if (!(element15 in emptyObjectArray.indices) != !range3.contains(element15)) throw AssertionError()
if (!(element15 !in emptyObjectArray.indices) != range3.contains(element15)) throw AssertionError()
}
fun testR3xE16() {
// with possible local optimizations
if (1.toFloat() in emptyObjectArray.indices != range3.contains(1.toFloat())) throw AssertionError()
if (1.toFloat() !in emptyObjectArray.indices != !range3.contains(1.toFloat())) throw AssertionError()
if (!(1.toFloat() in emptyObjectArray.indices) != !range3.contains(1.toFloat())) throw AssertionError()
if (!(1.toFloat() !in emptyObjectArray.indices) != range3.contains(1.toFloat())) throw AssertionError()
// no local optimizations
if (element16 in emptyObjectArray.indices != range3.contains(element16)) throw AssertionError()
if (element16 !in emptyObjectArray.indices != !range3.contains(element16)) throw AssertionError()
if (!(element16 in emptyObjectArray.indices) != !range3.contains(element16)) throw AssertionError()
if (!(element16 !in emptyObjectArray.indices) != range3.contains(element16)) throw AssertionError()
}
fun testR3xE17() {
// with possible local optimizations
if (1.toDouble() in emptyObjectArray.indices != range3.contains(1.toDouble())) throw AssertionError()
if (1.toDouble() !in emptyObjectArray.indices != !range3.contains(1.toDouble())) throw AssertionError()
if (!(1.toDouble() in emptyObjectArray.indices) != !range3.contains(1.toDouble())) throw AssertionError()
if (!(1.toDouble() !in emptyObjectArray.indices) != range3.contains(1.toDouble())) throw AssertionError()
// no local optimizations
if (element17 in emptyObjectArray.indices != range3.contains(element17)) throw AssertionError()
if (element17 !in emptyObjectArray.indices != !range3.contains(element17)) throw AssertionError()
if (!(element17 in emptyObjectArray.indices) != !range3.contains(element17)) throw AssertionError()
if (!(element17 !in emptyObjectArray.indices) != range3.contains(element17)) throw AssertionError()
}
fun testR3xE18() {
// with possible local optimizations
if (2.toByte() in emptyObjectArray.indices != range3.contains(2.toByte())) throw AssertionError()
if (2.toByte() !in emptyObjectArray.indices != !range3.contains(2.toByte())) throw AssertionError()
if (!(2.toByte() in emptyObjectArray.indices) != !range3.contains(2.toByte())) throw AssertionError()
if (!(2.toByte() !in emptyObjectArray.indices) != range3.contains(2.toByte())) throw AssertionError()
// no local optimizations
if (element18 in emptyObjectArray.indices != range3.contains(element18)) throw AssertionError()
if (element18 !in emptyObjectArray.indices != !range3.contains(element18)) throw AssertionError()
if (!(element18 in emptyObjectArray.indices) != !range3.contains(element18)) throw AssertionError()
if (!(element18 !in emptyObjectArray.indices) != range3.contains(element18)) throw AssertionError()
}
fun testR3xE19() {
// with possible local optimizations
if (2.toShort() in emptyObjectArray.indices != range3.contains(2.toShort())) throw AssertionError()
if (2.toShort() !in emptyObjectArray.indices != !range3.contains(2.toShort())) throw AssertionError()
if (!(2.toShort() in emptyObjectArray.indices) != !range3.contains(2.toShort())) throw AssertionError()
if (!(2.toShort() !in emptyObjectArray.indices) != range3.contains(2.toShort())) throw AssertionError()
// no local optimizations
if (element19 in emptyObjectArray.indices != range3.contains(element19)) throw AssertionError()
if (element19 !in emptyObjectArray.indices != !range3.contains(element19)) throw AssertionError()
if (!(element19 in emptyObjectArray.indices) != !range3.contains(element19)) throw AssertionError()
if (!(element19 !in emptyObjectArray.indices) != range3.contains(element19)) throw AssertionError()
}
fun testR3xE20() {
// with possible local optimizations
if (2 in emptyObjectArray.indices != range3.contains(2)) throw AssertionError()
if (2 !in emptyObjectArray.indices != !range3.contains(2)) throw AssertionError()
if (!(2 in emptyObjectArray.indices) != !range3.contains(2)) throw AssertionError()
if (!(2 !in emptyObjectArray.indices) != range3.contains(2)) throw AssertionError()
// no local optimizations
if (element20 in emptyObjectArray.indices != range3.contains(element20)) throw AssertionError()
if (element20 !in emptyObjectArray.indices != !range3.contains(element20)) throw AssertionError()
if (!(element20 in emptyObjectArray.indices) != !range3.contains(element20)) throw AssertionError()
if (!(element20 !in emptyObjectArray.indices) != range3.contains(element20)) throw AssertionError()
}
fun testR3xE21() {
// with possible local optimizations
if (2.toLong() in emptyObjectArray.indices != range3.contains(2.toLong())) throw AssertionError()
if (2.toLong() !in emptyObjectArray.indices != !range3.contains(2.toLong())) throw AssertionError()
if (!(2.toLong() in emptyObjectArray.indices) != !range3.contains(2.toLong())) throw AssertionError()
if (!(2.toLong() !in emptyObjectArray.indices) != range3.contains(2.toLong())) throw AssertionError()
// no local optimizations
if (element21 in emptyObjectArray.indices != range3.contains(element21)) throw AssertionError()
if (element21 !in emptyObjectArray.indices != !range3.contains(element21)) throw AssertionError()
if (!(element21 in emptyObjectArray.indices) != !range3.contains(element21)) throw AssertionError()
if (!(element21 !in emptyObjectArray.indices) != range3.contains(element21)) throw AssertionError()
}
fun testR3xE22() {
// with possible local optimizations
if (2.toFloat() in emptyObjectArray.indices != range3.contains(2.toFloat())) throw AssertionError()
if (2.toFloat() !in emptyObjectArray.indices != !range3.contains(2.toFloat())) throw AssertionError()
if (!(2.toFloat() in emptyObjectArray.indices) != !range3.contains(2.toFloat())) throw AssertionError()
if (!(2.toFloat() !in emptyObjectArray.indices) != range3.contains(2.toFloat())) throw AssertionError()
// no local optimizations
if (element22 in emptyObjectArray.indices != range3.contains(element22)) throw AssertionError()
if (element22 !in emptyObjectArray.indices != !range3.contains(element22)) throw AssertionError()
if (!(element22 in emptyObjectArray.indices) != !range3.contains(element22)) throw AssertionError()
if (!(element22 !in emptyObjectArray.indices) != range3.contains(element22)) throw AssertionError()
}
fun testR3xE23() {
// with possible local optimizations
if (2.toDouble() in emptyObjectArray.indices != range3.contains(2.toDouble())) throw AssertionError()
if (2.toDouble() !in emptyObjectArray.indices != !range3.contains(2.toDouble())) throw AssertionError()
if (!(2.toDouble() in emptyObjectArray.indices) != !range3.contains(2.toDouble())) throw AssertionError()
if (!(2.toDouble() !in emptyObjectArray.indices) != range3.contains(2.toDouble())) throw AssertionError()
// no local optimizations
if (element23 in emptyObjectArray.indices != range3.contains(element23)) throw AssertionError()
if (element23 !in emptyObjectArray.indices != !range3.contains(element23)) throw AssertionError()
if (!(element23 in emptyObjectArray.indices) != !range3.contains(element23)) throw AssertionError()
if (!(element23 !in emptyObjectArray.indices) != range3.contains(element23)) throw AssertionError()
}
fun testR3xE24() {
// with possible local optimizations
if (3.toByte() in emptyObjectArray.indices != range3.contains(3.toByte())) throw AssertionError()
if (3.toByte() !in emptyObjectArray.indices != !range3.contains(3.toByte())) throw AssertionError()
if (!(3.toByte() in emptyObjectArray.indices) != !range3.contains(3.toByte())) throw AssertionError()
if (!(3.toByte() !in emptyObjectArray.indices) != range3.contains(3.toByte())) throw AssertionError()
// no local optimizations
if (element24 in emptyObjectArray.indices != range3.contains(element24)) throw AssertionError()
if (element24 !in emptyObjectArray.indices != !range3.contains(element24)) throw AssertionError()
if (!(element24 in emptyObjectArray.indices) != !range3.contains(element24)) throw AssertionError()
if (!(element24 !in emptyObjectArray.indices) != range3.contains(element24)) throw AssertionError()
}
fun testR3xE25() {
// with possible local optimizations
if (3.toShort() in emptyObjectArray.indices != range3.contains(3.toShort())) throw AssertionError()
if (3.toShort() !in emptyObjectArray.indices != !range3.contains(3.toShort())) throw AssertionError()
if (!(3.toShort() in emptyObjectArray.indices) != !range3.contains(3.toShort())) throw AssertionError()
if (!(3.toShort() !in emptyObjectArray.indices) != range3.contains(3.toShort())) throw AssertionError()
// no local optimizations
if (element25 in emptyObjectArray.indices != range3.contains(element25)) throw AssertionError()
if (element25 !in emptyObjectArray.indices != !range3.contains(element25)) throw AssertionError()
if (!(element25 in emptyObjectArray.indices) != !range3.contains(element25)) throw AssertionError()
if (!(element25 !in emptyObjectArray.indices) != range3.contains(element25)) throw AssertionError()
}
fun testR3xE26() {
// with possible local optimizations
if (3 in emptyObjectArray.indices != range3.contains(3)) throw AssertionError()
if (3 !in emptyObjectArray.indices != !range3.contains(3)) throw AssertionError()
if (!(3 in emptyObjectArray.indices) != !range3.contains(3)) throw AssertionError()
if (!(3 !in emptyObjectArray.indices) != range3.contains(3)) throw AssertionError()
// no local optimizations
if (element26 in emptyObjectArray.indices != range3.contains(element26)) throw AssertionError()
if (element26 !in emptyObjectArray.indices != !range3.contains(element26)) throw AssertionError()
if (!(element26 in emptyObjectArray.indices) != !range3.contains(element26)) throw AssertionError()
if (!(element26 !in emptyObjectArray.indices) != range3.contains(element26)) throw AssertionError()
}
fun testR3xE27() {
// with possible local optimizations
if (3.toLong() in emptyObjectArray.indices != range3.contains(3.toLong())) throw AssertionError()
if (3.toLong() !in emptyObjectArray.indices != !range3.contains(3.toLong())) throw AssertionError()
if (!(3.toLong() in emptyObjectArray.indices) != !range3.contains(3.toLong())) throw AssertionError()
if (!(3.toLong() !in emptyObjectArray.indices) != range3.contains(3.toLong())) throw AssertionError()
// no local optimizations
if (element27 in emptyObjectArray.indices != range3.contains(element27)) throw AssertionError()
if (element27 !in emptyObjectArray.indices != !range3.contains(element27)) throw AssertionError()
if (!(element27 in emptyObjectArray.indices) != !range3.contains(element27)) throw AssertionError()
if (!(element27 !in emptyObjectArray.indices) != range3.contains(element27)) throw AssertionError()
}
fun testR3xE28() {
// with possible local optimizations
if (3.toFloat() in emptyObjectArray.indices != range3.contains(3.toFloat())) throw AssertionError()
if (3.toFloat() !in emptyObjectArray.indices != !range3.contains(3.toFloat())) throw AssertionError()
if (!(3.toFloat() in emptyObjectArray.indices) != !range3.contains(3.toFloat())) throw AssertionError()
if (!(3.toFloat() !in emptyObjectArray.indices) != range3.contains(3.toFloat())) throw AssertionError()
// no local optimizations
if (element28 in emptyObjectArray.indices != range3.contains(element28)) throw AssertionError()
if (element28 !in emptyObjectArray.indices != !range3.contains(element28)) throw AssertionError()
if (!(element28 in emptyObjectArray.indices) != !range3.contains(element28)) throw AssertionError()
if (!(element28 !in emptyObjectArray.indices) != range3.contains(element28)) throw AssertionError()
}
fun testR3xE29() {
// with possible local optimizations
if (3.toDouble() in emptyObjectArray.indices != range3.contains(3.toDouble())) throw AssertionError()
if (3.toDouble() !in emptyObjectArray.indices != !range3.contains(3.toDouble())) throw AssertionError()
if (!(3.toDouble() in emptyObjectArray.indices) != !range3.contains(3.toDouble())) throw AssertionError()
if (!(3.toDouble() !in emptyObjectArray.indices) != range3.contains(3.toDouble())) throw AssertionError()
// no local optimizations
if (element29 in emptyObjectArray.indices != range3.contains(element29)) throw AssertionError()
if (element29 !in emptyObjectArray.indices != !range3.contains(element29)) throw AssertionError()
if (!(element29 in emptyObjectArray.indices) != !range3.contains(element29)) throw AssertionError()
if (!(element29 !in emptyObjectArray.indices) != range3.contains(element29)) throw AssertionError()
}
fun testR3xE30() {
// with possible local optimizations
if (4.toByte() in emptyObjectArray.indices != range3.contains(4.toByte())) throw AssertionError()
if (4.toByte() !in emptyObjectArray.indices != !range3.contains(4.toByte())) throw AssertionError()
if (!(4.toByte() in emptyObjectArray.indices) != !range3.contains(4.toByte())) throw AssertionError()
if (!(4.toByte() !in emptyObjectArray.indices) != range3.contains(4.toByte())) throw AssertionError()
// no local optimizations
if (element30 in emptyObjectArray.indices != range3.contains(element30)) throw AssertionError()
if (element30 !in emptyObjectArray.indices != !range3.contains(element30)) throw AssertionError()
if (!(element30 in emptyObjectArray.indices) != !range3.contains(element30)) throw AssertionError()
if (!(element30 !in emptyObjectArray.indices) != range3.contains(element30)) throw AssertionError()
}
fun testR3xE31() {
// with possible local optimizations
if (4.toShort() in emptyObjectArray.indices != range3.contains(4.toShort())) throw AssertionError()
if (4.toShort() !in emptyObjectArray.indices != !range3.contains(4.toShort())) throw AssertionError()
if (!(4.toShort() in emptyObjectArray.indices) != !range3.contains(4.toShort())) throw AssertionError()
if (!(4.toShort() !in emptyObjectArray.indices) != range3.contains(4.toShort())) throw AssertionError()
// no local optimizations
if (element31 in emptyObjectArray.indices != range3.contains(element31)) throw AssertionError()
if (element31 !in emptyObjectArray.indices != !range3.contains(element31)) throw AssertionError()
if (!(element31 in emptyObjectArray.indices) != !range3.contains(element31)) throw AssertionError()
if (!(element31 !in emptyObjectArray.indices) != range3.contains(element31)) throw AssertionError()
}
fun testR3xE32() {
// with possible local optimizations
if (4 in emptyObjectArray.indices != range3.contains(4)) throw AssertionError()
if (4 !in emptyObjectArray.indices != !range3.contains(4)) throw AssertionError()
if (!(4 in emptyObjectArray.indices) != !range3.contains(4)) throw AssertionError()
if (!(4 !in emptyObjectArray.indices) != range3.contains(4)) throw AssertionError()
// no local optimizations
if (element32 in emptyObjectArray.indices != range3.contains(element32)) throw AssertionError()
if (element32 !in emptyObjectArray.indices != !range3.contains(element32)) throw AssertionError()
if (!(element32 in emptyObjectArray.indices) != !range3.contains(element32)) throw AssertionError()
if (!(element32 !in emptyObjectArray.indices) != range3.contains(element32)) throw AssertionError()
}
fun testR3xE33() {
// with possible local optimizations
if (4.toLong() in emptyObjectArray.indices != range3.contains(4.toLong())) throw AssertionError()
if (4.toLong() !in emptyObjectArray.indices != !range3.contains(4.toLong())) throw AssertionError()
if (!(4.toLong() in emptyObjectArray.indices) != !range3.contains(4.toLong())) throw AssertionError()
if (!(4.toLong() !in emptyObjectArray.indices) != range3.contains(4.toLong())) throw AssertionError()
// no local optimizations
if (element33 in emptyObjectArray.indices != range3.contains(element33)) throw AssertionError()
if (element33 !in emptyObjectArray.indices != !range3.contains(element33)) throw AssertionError()
if (!(element33 in emptyObjectArray.indices) != !range3.contains(element33)) throw AssertionError()
if (!(element33 !in emptyObjectArray.indices) != range3.contains(element33)) throw AssertionError()
}
fun testR3xE34() {
// with possible local optimizations
if (4.toFloat() in emptyObjectArray.indices != range3.contains(4.toFloat())) throw AssertionError()
if (4.toFloat() !in emptyObjectArray.indices != !range3.contains(4.toFloat())) throw AssertionError()
if (!(4.toFloat() in emptyObjectArray.indices) != !range3.contains(4.toFloat())) throw AssertionError()
if (!(4.toFloat() !in emptyObjectArray.indices) != range3.contains(4.toFloat())) throw AssertionError()
// no local optimizations
if (element34 in emptyObjectArray.indices != range3.contains(element34)) throw AssertionError()
if (element34 !in emptyObjectArray.indices != !range3.contains(element34)) throw AssertionError()
if (!(element34 in emptyObjectArray.indices) != !range3.contains(element34)) throw AssertionError()
if (!(element34 !in emptyObjectArray.indices) != range3.contains(element34)) throw AssertionError()
}
fun testR3xE35() {
// with possible local optimizations
if (4.toDouble() in emptyObjectArray.indices != range3.contains(4.toDouble())) throw AssertionError()
if (4.toDouble() !in emptyObjectArray.indices != !range3.contains(4.toDouble())) throw AssertionError()
if (!(4.toDouble() in emptyObjectArray.indices) != !range3.contains(4.toDouble())) throw AssertionError()
if (!(4.toDouble() !in emptyObjectArray.indices) != range3.contains(4.toDouble())) throw AssertionError()
// no local optimizations
if (element35 in emptyObjectArray.indices != range3.contains(element35)) throw AssertionError()
if (element35 !in emptyObjectArray.indices != !range3.contains(element35)) throw AssertionError()
if (!(element35 in emptyObjectArray.indices) != !range3.contains(element35)) throw AssertionError()
if (!(element35 !in emptyObjectArray.indices) != range3.contains(element35)) throw AssertionError()
}