Mercurial > projects > ldc
view test/arrays5.d @ 38:27b2f40bdb58 trunk
[svn r42] Disabled the extensive logging by default. Use the -vv flag to get it back.
Fiddled a bit the the testing system.
Added a very simple SDL graphics demo.
author | lindquist |
---|---|
date | Wed, 10 Oct 2007 06:16:48 +0200 |
parents | 77cdca8c210f |
children | 61615fa85940 |
line wrap: on
line source
module arrays5; //import std.stdio; void main() { auto arr = new float[5]; arr[4] = 1f; //writefln(arr); assert(arr[0] !<>= 0f); assert(arr[1] !<>= 0f); assert(arr[2] !<>= 0f); assert(arr[3] !<>= 0f); assert(arr[4] == 1f); }