Sha256: 8095b4e24bbb53871bebad289e28b50ae5705bc24b684e934b2f92f8bea13cfc

Contents?: true

Size: 1.5 KB

Versions: 69

Compression:

Stored size: 1.5 KB

Contents

if !System.get_env("EXERCISM_TEST_EXAMPLES") do
  Code.load_file("raindrops.exs", __DIR__)
end

ExUnit.start()
ExUnit.configure(exclude: :pending, trace: true)

defmodule RaindropsTest do
  use ExUnit.Case

  # @tag :pending
  test "1" do
    assert Raindrops.convert(1) == "1"
  end

  @tag :pending
  test "3" do
    assert Raindrops.convert(3) == "Pling"
  end

  @tag :pending
  test "5" do
    assert Raindrops.convert(5) == "Plang"
  end

  @tag :pending
  test "7" do
    assert Raindrops.convert(7) == "Plong"
  end

  @tag :pending
  test "6" do
    assert Raindrops.convert(6) == "Pling"
  end

  @tag :pending
  test "9" do
    assert Raindrops.convert(9) == "Pling"
  end

  @tag :pending
  test "10" do
    assert Raindrops.convert(10) == "Plang"
  end

  @tag :pending
  test "14" do
    assert Raindrops.convert(14) == "Plong"
  end

  @tag :pending
  test "15" do
    assert Raindrops.convert(15) == "PlingPlang"
  end

  @tag :pending
  test "21" do
    assert Raindrops.convert(21) == "PlingPlong"
  end

  @tag :pending
  test "25" do
    assert Raindrops.convert(25) == "Plang"
  end

  @tag :pending
  test "35" do
    assert Raindrops.convert(35) == "PlangPlong"
  end

  @tag :pending
  test "49" do
    assert Raindrops.convert(49) == "Plong"
  end

  @tag :pending
  test "52" do
    assert Raindrops.convert(52) == "52"
  end

  @tag :pending
  test "105" do
    assert Raindrops.convert(105) == "PlingPlangPlong"
  end

  @tag :pending
  test "12121" do
    assert Raindrops.convert(12121) == "12121"
  end
end

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/elixir/exercises/raindrops/raindrops_test.exs
trackler-2.2.1.179 tracks/elixir/exercises/raindrops/raindrops_test.exs
trackler-2.2.1.178 tracks/elixir/exercises/raindrops/raindrops_test.exs
trackler-2.2.1.177 tracks/elixir/exercises/raindrops/raindrops_test.exs
trackler-2.2.1.176 tracks/elixir/exercises/raindrops/raindrops_test.exs
trackler-2.2.1.175 tracks/elixir/exercises/raindrops/raindrops_test.exs
trackler-2.2.1.174 tracks/elixir/exercises/raindrops/raindrops_test.exs
trackler-2.2.1.173 tracks/elixir/exercises/raindrops/raindrops_test.exs
trackler-2.2.1.172 tracks/elixir/exercises/raindrops/raindrops_test.exs
trackler-2.2.1.171 tracks/elixir/exercises/raindrops/raindrops_test.exs
trackler-2.2.1.170 tracks/elixir/exercises/raindrops/raindrops_test.exs
trackler-2.2.1.169 tracks/elixir/exercises/raindrops/raindrops_test.exs
trackler-2.2.1.167 tracks/elixir/exercises/raindrops/raindrops_test.exs
trackler-2.2.1.166 tracks/elixir/exercises/raindrops/raindrops_test.exs
trackler-2.2.1.165 tracks/elixir/exercises/raindrops/raindrops_test.exs
trackler-2.2.1.164 tracks/elixir/exercises/raindrops/raindrops_test.exs
trackler-2.2.1.163 tracks/elixir/exercises/raindrops/raindrops_test.exs
trackler-2.2.1.162 tracks/elixir/exercises/raindrops/raindrops_test.exs
trackler-2.2.1.161 tracks/elixir/exercises/raindrops/raindrops_test.exs
trackler-2.2.1.160 tracks/elixir/exercises/raindrops/raindrops_test.exs