// Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit!
// WITH_STDLIB
import kotlin.test.*

fun box(): String {
    val intList = mutableListOf<Int>()
    val intProgression = Int.MAX_VALUE downTo 0
    for (i in intProgression step Int.MAX_VALUE) {
        intList += i
    }
    assertEquals(listOf(Int.MAX_VALUE, 0), intList)

    val longList = mutableListOf<Long>()
    val longProgression = Long.MAX_VALUE downTo 0L
    for (i in longProgression step Long.MAX_VALUE) {
        longList += i
    }
    assertEquals(listOf(Long.MAX_VALUE, 0L), longList)

    val charList = mutableListOf<Char>()
    val charProgression = Char.MAX_VALUE downTo 0.toChar()
    for (i in charProgression step Char.MAX_VALUE.toInt()) {
        charList += i
    }
    assertEquals(listOf(Char.MAX_VALUE, 0.toChar()), charList)

    return "OK"
}