Sha256: 0185edab7c57b0ab0cccb76c1a6a591fe69e1c41c96f086c1d848d7001fea032

Contents?: true

Size: 733 Bytes

Versions: 382

Compression:

Stored size: 733 Bytes

Contents

require "spec"
require "../src/*"

describe "Raindrops" do
  describe "#drops" do
    it "converts 1 to 1" do
      Raindrops.drops(1).should eq "1"
    end

    pending "converts 3 to Pling" do
      Raindrops.drops(3).should eq "Pling"
    end

    pending "converts 5 to Plang" do
      Raindrops.drops(5).should eq "Plang"
    end

    pending "converts 7 to Plong" do
      Raindrops.drops(7).should eq "Plong"
    end

    pending "converts 35 to PlangPlong" do
      Raindrops.drops(35).should eq "PlangPlong"
    end

    pending "converts 52 to 52" do
      Raindrops.drops(52).should eq "52"
    end

    pending "converts 105 to PlingPlangPlong" do
      Raindrops.drops(105).should eq "PlingPlangPlong"
    end
  end
end

Version data entries

382 entries across 382 versions & 1 rubygems

Version Path
trackler-2.0.6.20 tracks/crystal/exercises/raindrops/spec/raindrops_spec.cr
trackler-2.0.6.19 tracks/crystal/exercises/raindrops/spec/raindrops_spec.cr
trackler-2.0.6.18 tracks/crystal/exercises/raindrops/spec/raindrops_spec.cr
trackler-2.0.6.17 tracks/crystal/exercises/raindrops/spec/raindrops_spec.cr
trackler-2.0.6.16 tracks/crystal/exercises/raindrops/spec/raindrops_spec.cr
trackler-2.0.6.15 tracks/crystal/exercises/raindrops/spec/raindrops_spec.cr
trackler-2.0.6.14 tracks/crystal/exercises/raindrops/spec/raindrops_spec.cr
trackler-2.0.6.13 tracks/crystal/exercises/raindrops/spec/raindrops_spec.cr
trackler-2.0.6.12 tracks/crystal/exercises/raindrops/spec/raindrops_spec.cr
trackler-2.0.6.11 tracks/crystal/exercises/raindrops/spec/raindrops_spec.cr
trackler-2.0.6.10 tracks/crystal/exercises/raindrops/spec/raindrops_spec.cr
trackler-2.0.6.9 tracks/crystal/exercises/raindrops/spec/raindrops_spec.cr
trackler-2.0.6.8 tracks/crystal/exercises/raindrops/spec/raindrops_spec.cr
trackler-2.0.6.7 tracks/crystal/exercises/raindrops/spec/raindrops_spec.cr
trackler-2.0.6.6 tracks/crystal/exercises/raindrops/spec/raindrops_spec.cr
trackler-2.0.6.5 tracks/crystal/exercises/raindrops/spec/raindrops_spec.cr
trackler-2.0.6.4 tracks/crystal/exercises/raindrops/spec/raindrops_spec.cr
trackler-2.0.6.3 tracks/crystal/exercises/raindrops/spec/raindrops_spec.cr
trackler-2.0.6.2 tracks/crystal/exercises/raindrops/spec/raindrops_spec.cr
trackler-2.0.6.1 tracks/crystal/exercises/raindrops/spec/raindrops_spec.cr