phobos 0.50

This commit is contained in:
Brad Roberts 2007-09-10 02:05:38 +00:00
parent cf1172c198
commit beea19e2f0
77 changed files with 11699 additions and 4408 deletions

View file

@ -1,4 +1,9 @@
// Copyright (c) 1999-2002 by Digital Mars
// All Rights Reserved
// written by Walter Bright
// www.digitalmars.com
// This test program pulls in all the library modules in order
// to run the unit tests on them.
// Then, it prints out the arguments passed to main().
@ -8,10 +13,14 @@ import c.stdio;
import string;
import path;
import math;
import math2;
import outbuffer;
import ctype;
import regexp;
import random;
import date;
import dateparse;
import stream;
int main(char[][] args)
{
@ -21,10 +30,16 @@ int main(char[][] args)
cmp("foo", "bar"); // string
fncharmatch('a', 'b'); // path
isnan(1.0); // math
feq(1.0, 2.0); // math2
OutBuffer b = new OutBuffer(); // outbuffer
ctype.tolower('A'); // ctype
RegExp r = new RegExp(null, null); // regexp
rand();
int a[];
a.reverse; // adi
a.sort; // qsort
date.getUTCtime(); // date
StreamError se = new StreamError(""); // stream
printf("hello world\n");
printf("args.length = %d\n", args.length);