view test/arrays13.d @ 166:a2c4dc388d5e trunk

[svn r182] Oups, the PGM output for the raytracer demo was borked.
author lindquist
date Tue, 06 May 2008 00:03:55 +0200
parents 5071469303d4
children c44e6a711885
line wrap: on
line source

module arrays13;

void main()
{
    string a = "hello";

    assert(a >  "hel");
    assert(a >= "hel");
    assert(a <  "helloo");
    assert(a <= "helloo");
    assert(a >  "betty");
    assert(a >= "betty");
    assert(a == "hello");
    assert(a <= "hello");
    assert(a >= "hello");
}