2017-08-15

This commit is contained in:
2017-08-15 10:04:10 -05:00
parent 63b955575a
commit 88b47de8c8
24 changed files with 3100 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
module helloworld_test;
unittest {
const int allTestsEnabled = 0;
assert(hello() == "Hello, World!");
static if (allTestsEnabled) {
assert(hello("Alice") == "Hello, Alice!");
assert(hello("Bob") == "Hello, Bob!");
assert(hello("") == "Hello, !");
}
}