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

fun box(): String {
    val intList = mutableListOf<Int>()
    val intProgression = 6 downTo 1
    for (i in intProgression step 2 step 1) {
        intList += i
    }
    assertEquals(listOf(6, 5, 4, 3, 2), intList)

    val longList = mutableListOf<Long>()
    val longProgression = 6L downTo 1L
    for (i in longProgression step 2L step 1L) {
        longList += i
    }
    assertEquals(listOf(6L, 5L, 4L, 3L, 2L), longList)

    val charList = mutableListOf<Char>()
    val charProgression = 'f' downTo 'a'
    for (i in charProgression step 2 step 1) {
        charList += i
    }
    assertEquals(listOf('f', 'e', 'd', 'c', 'b'), charList)

    return "OK"
}