Sha256: 0c64361a32d9f6f749b39fd1fca79afbb9c836cf9399686ca9bea0b1d4f47772

Contents?: true

Size: 631 Bytes

Versions: 213

Compression:

Stored size: 631 Bytes

Contents

unittest {
const int allTestsEnabled = 0;

    assert(convert(1) == "1");
static if (allTestsEnabled) {
    assert(convert(3) == "Pling");
    assert(convert(5) == "Plang");
    assert(convert(7) == "Plong");
    assert(convert(6) == "Pling");
    assert(convert(9) == "Pling");
    assert(convert(10) == "Plang");
    assert(convert(14) == "Plong");
    assert(convert(15) == "PlingPlang");
    assert(convert(21) == "PlingPlong");
    assert(convert(25) == "Plang");
    assert(convert(35) == "PlangPlong");
    assert(convert(49) == "Plong");
    assert(convert(52) == "52");
    assert(convert(105) == "PlingPlangPlong");
}

}

Version data entries

213 entries across 213 versions & 1 rubygems

Version Path
trackler-2.2.1.98 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.97 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.96 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.95 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.94 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.93 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.92 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.91 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.90 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.89 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.88 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.87 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.86 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.85 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.84 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.83 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.82 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.81 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.80 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.79 tracks/d/exercises/raindrops/source/raindrops.d