Cleanup deprecated symbol usages in testData
This commit is contained in:
+5
-5
@@ -16,7 +16,7 @@ fun box(): String {
|
||||
val list1 = ArrayList<Int>()
|
||||
for (i in MaxI..MaxI) {
|
||||
list1.add(i)
|
||||
if (list1.size() > 23) break
|
||||
if (list1.size > 23) break
|
||||
}
|
||||
if (list1 != listOf<Int>(MaxI)) {
|
||||
return "Wrong elements for MaxI..MaxI: $list1"
|
||||
@@ -25,7 +25,7 @@ fun box(): String {
|
||||
val list2 = ArrayList<Int>()
|
||||
for (i in MaxB..MaxB) {
|
||||
list2.add(i)
|
||||
if (list2.size() > 23) break
|
||||
if (list2.size > 23) break
|
||||
}
|
||||
if (list2 != listOf<Int>(MaxB.toInt())) {
|
||||
return "Wrong elements for MaxB..MaxB: $list2"
|
||||
@@ -34,7 +34,7 @@ fun box(): String {
|
||||
val list3 = ArrayList<Int>()
|
||||
for (i in MaxS..MaxS) {
|
||||
list3.add(i)
|
||||
if (list3.size() > 23) break
|
||||
if (list3.size > 23) break
|
||||
}
|
||||
if (list3 != listOf<Int>(MaxS.toInt())) {
|
||||
return "Wrong elements for MaxS..MaxS: $list3"
|
||||
@@ -43,7 +43,7 @@ fun box(): String {
|
||||
val list4 = ArrayList<Long>()
|
||||
for (i in MaxL..MaxL) {
|
||||
list4.add(i)
|
||||
if (list4.size() > 23) break
|
||||
if (list4.size > 23) break
|
||||
}
|
||||
if (list4 != listOf<Long>(MaxL)) {
|
||||
return "Wrong elements for MaxL..MaxL: $list4"
|
||||
@@ -52,7 +52,7 @@ fun box(): String {
|
||||
val list5 = ArrayList<Char>()
|
||||
for (i in MaxC..MaxC) {
|
||||
list5.add(i)
|
||||
if (list5.size() > 23) break
|
||||
if (list5.size > 23) break
|
||||
}
|
||||
if (list5 != listOf<Char>(MaxC)) {
|
||||
return "Wrong elements for MaxC..MaxC: $list5"
|
||||
|
||||
Reference in New Issue
Block a user