set test transpose-1
set prog_output "ans = 2"
do_test transpose-1.m

set test transpose-2
set prog_output "ans = *\n\n *1\n *2\n *3\n *4"
do_test transpose-2.m

set test transpose-3
set prog_output "ans = *\n\n *1 *2 *3 *4"
do_test transpose-3.m

set test transpose-4
set prog_output "ans = *\n\n *1 *3\n *2 *4"
do_test transpose-4.m
