setup

test-error min("string", 1)

test min() is 0
test min(1.23) is 1.23
test min("1, 2, 3, 4, 5") is 1
test min(3, 1, 5, 2, 4) is 1

local tArray
repeat with i = 1 to 5
	put 6 - i into tArray[i]
end repeat
test min(tArray) is 1

teardown