Sha256: cac4083802a7d42b50dd60b164bc96255873b3690be272430f872002192e86b1

Contents?: true

Size: 736 Bytes

Versions: 14

Compression:

Stored size: 736 Bytes

Contents

require "spec"
require "./raindrops"

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

14 entries across 14 versions & 1 rubygems

Version Path
trackler-2.0.0.3 tracks/crystal/exercises/raindrops/raindrops_spec.cr
trackler-2.0.0.2 tracks/crystal/exercises/raindrops/raindrops_spec.cr
trackler-2.0.0.1 tracks/crystal/exercises/raindrops/raindrops_spec.cr
trackler-2.0.0.0 tracks/crystal/exercises/raindrops/raindrops_spec.cr
trackler-1.0.4.1 tracks/crystal/exercises/raindrops/raindrops_spec.cr
trackler-1.0.4.0 tracks/crystal/exercises/raindrops/raindrops_spec.cr
trackler-1.0.3.0 tracks/crystal/exercises/raindrops/raindrops_spec.cr
trackler-1.0.2.1 tracks/crystal/exercises/raindrops/raindrops_spec.cr
trackler-1.0.2.0 tracks/crystal/exercises/raindrops/raindrops_spec.cr
trackler-1.0.1.2 tracks/crystal/exercises/raindrops/raindrops_spec.cr
trackler-1.0.1.1 tracks/crystal/exercises/raindrops/raindrops_spec.cr
trackler-1.0.1.0 tracks/crystal/exercises/raindrops/raindrops_spec.cr
trackler-1.0.0.1 tracks/crystal/exercises/raindrops/raindrops_spec.cr
trackler-1.0.0 tracks/crystal/exercises/raindrops/raindrops_spec.cr