Sha256: 16630b75fd8d48bbc165b870b95173fe77844afc75300470006a448409e0252a

Contents?: true

Size: 262 Bytes

Versions: 181

Compression:

Stored size: 262 Bytes

Contents

module helloworld_test;

import std.stdio;

void main() {
    assert(hello() == "Hello, World!");
    assert(hello("Alice") == "Hello, Alice!");
    assert(hello("Bob") == "Hello, Bob!");
    assert(hello("") == "Hello, !");

    writeln("All tests passed.");
}

Version data entries

181 entries across 181 versions & 1 rubygems

Version Path
trackler-2.0.8.41 tracks/dlang/exercises/hello-world/hello_world.d
trackler-2.0.8.40 tracks/dlang/exercises/hello-world/hello_world.d
trackler-2.0.8.39 tracks/dlang/exercises/hello-world/hello_world.d
trackler-2.0.8.38 tracks/dlang/exercises/hello-world/hello_world.d
trackler-2.0.8.37 tracks/dlang/exercises/hello-world/hello_world.d
trackler-2.0.8.36 tracks/dlang/exercises/hello-world/hello_world.d
trackler-2.0.8.35 tracks/dlang/exercises/hello-world/hello_world.d
trackler-2.0.8.34 tracks/dlang/exercises/hello-world/hello_world.d
trackler-2.0.8.33 tracks/dlang/exercises/hello-world/hello_world.d
trackler-2.0.8.32 tracks/dlang/exercises/hello-world/hello_world.d
trackler-2.0.8.31 tracks/dlang/exercises/hello-world/hello_world.d
trackler-2.0.8.30 tracks/dlang/exercises/hello-world/hello_world.d
trackler-2.0.8.29 tracks/dlang/exercises/hello-world/hello_world.d
trackler-2.0.8.28 tracks/dlang/exercises/hello-world/hello_world.d
trackler-2.0.8.27 tracks/dlang/exercises/hello-world/hello_world.d
trackler-2.0.8.26 tracks/dlang/exercises/hello-world/hello_world.d
trackler-2.0.8.24 tracks/dlang/exercises/hello-world/hello_world.d
trackler-2.0.8.23 tracks/dlang/exercises/hello-world/hello_world.d
trackler-2.0.8.22 tracks/dlang/exercises/hello-world/hello_world.d
trackler-2.0.8.21 tracks/dlang/exercises/hello-world/hello_world.d