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.0.5 tracks/crystal/exercises/raindrops/spec/raindrops_spec.cr
trackler-2.0.0.4 tracks/crystal/exercises/raindrops/spec/raindrops_spec.cr