unittests D2.065.0 window 7
Phillip Shelton via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon May 26 20:30:23 PDT 2014
I have the following code in a file called ex43.d
dstring toFront(dstring str, in dchar letter)
{
dstring result;
return result;
}
unittest
{
immutable str = "hello"d;
assert(toFront(str, 'h') == "hello");
assert(toFront(str, 'o') == "ohell");
assert(toFront(str, 'l') == "llheo");
}
void main()
{}
When I compile this code with dmd -run ex43.d -w -unittest there
is no output.
Is there some path that needs to be added to the PATH variable?
Phillip
More information about the Digitalmars-d-learn
mailing list