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.78 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.77 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.76 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.75 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.74 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.73 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.72 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.71 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.70 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.69 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.68 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.67 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.66 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.65 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.64 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.63 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.62 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.61 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.60 tracks/d/exercises/raindrops/source/raindrops.d
trackler-2.2.1.59 tracks/d/exercises/raindrops/source/raindrops.d