annotate tests/mini/bug58.d @ 341:1bb99290e03a trunk

[svn r362] Started merging the old 'test' dir as well as the newer 'tangotests' dir into 'tests/mini' and 'tests/minicomplex'.
author lindquist
date Sun, 13 Jul 2008 02:51:19 +0200
parents test/bug58.d@5071469303d4
children
rev   line source
lindquist@94 1 module bug58;
lindquist@94 2 import std.stdio;
lindquist@94 3 void main()
lindquist@94 4 {
lindquist@94 5 int[16] arr = [1,16,2,15,3,14,4,13,5,12,6,11,7,10,8,9];
lindquist@94 6 writefln("arr = ",arr);
lindquist@94 7 arr.sort;
lindquist@94 8 writefln("arr.sort = ",arr);
lindquist@94 9 assert(arr == [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]);
lindquist@100 10 }