Sha256: 5197ad81c7f255c814d75b98df259374360796016c0b006c9aa8827c21335ead

Contents?: true

Size: 1011 Bytes

Versions: 160

Compression:

Stored size: 1011 Bytes

Contents

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

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

defmodule IsogramTest do
  use ExUnit.Case

  test "isogram lowercase" do
    assert Isogram.isogram?("subdermatoglyphic")
  end

  @tag :pending
  test "not isogram lowercase " do
    refute Isogram.isogram?("eleven")
  end

  @tag :pending
  test "isogram uppercase" do
    assert Isogram.isogram?("DEMONSTRABLY")
  end

  @tag :pending
  test "not isogram uppercase" do
    refute Isogram.isogram?("ALPHABET")
  end

  @tag :pending
  test "isogram with dash" do
    assert Isogram.isogram?("hjelmqvist-gryb-zock-pfund-wax")
  end

  @tag :pending
  test "not isogram with dash" do
    refute Isogram.isogram?("twenty-five")
  end

  @tag :pending
  test "phrase is isogram" do
    assert Isogram.isogram?("emily jung schwartzkopf")
  end

  @tag :pending
  test "phrase is not isogram" do
    refute Isogram.isogram?("the quick brown fox")
  end

end

Version data entries

160 entries across 160 versions & 1 rubygems

Version Path
trackler-2.2.1.109 tracks/elixir/exercises/isogram/isogram_test.exs
trackler-2.2.1.108 tracks/elixir/exercises/isogram/isogram_test.exs
trackler-2.2.1.107 tracks/elixir/exercises/isogram/isogram_test.exs
trackler-2.2.1.106 tracks/elixir/exercises/isogram/isogram_test.exs
trackler-2.2.1.105 tracks/elixir/exercises/isogram/isogram_test.exs
trackler-2.2.1.104 tracks/elixir/exercises/isogram/isogram_test.exs
trackler-2.2.1.103 tracks/elixir/exercises/isogram/isogram_test.exs
trackler-2.2.1.102 tracks/elixir/exercises/isogram/isogram_test.exs
trackler-2.2.1.101 tracks/elixir/exercises/isogram/isogram_test.exs
trackler-2.2.1.100 tracks/elixir/exercises/isogram/isogram_test.exs
trackler-2.2.1.99 tracks/elixir/exercises/isogram/isogram_test.exs
trackler-2.2.1.98 tracks/elixir/exercises/isogram/isogram_test.exs
trackler-2.2.1.97 tracks/elixir/exercises/isogram/isogram_test.exs
trackler-2.2.1.96 tracks/elixir/exercises/isogram/isogram_test.exs
trackler-2.2.1.95 tracks/elixir/exercises/isogram/isogram_test.exs
trackler-2.2.1.94 tracks/elixir/exercises/isogram/isogram_test.exs
trackler-2.2.1.93 tracks/elixir/exercises/isogram/isogram_test.exs
trackler-2.2.1.92 tracks/elixir/exercises/isogram/isogram_test.exs
trackler-2.2.1.91 tracks/elixir/exercises/isogram/isogram_test.exs
trackler-2.2.1.90 tracks/elixir/exercises/isogram/isogram_test.exs