Eskil

procs.test at trunk
Login

File tests/procs.test artifact edce5ac478 on branch trunk


#------------------------------------------------------------*- tcl -*-
# Tests for comparing misc procedures.
#----------------------------------------------------------------------

test procs-1.1 {
    Linit
} -body {
    # Make sure argument ordering is same as lindex
    lindex [Linit x 3 4 5] 2 3 4
} -result x

test procs-1.2 {
    Linit
} -body {
    lindex [Linit x 3 4 5] 4 3 2
} -result {}