Sha256: 5b94d8bd0e4b0aca8fa66f96a3342e4f91a3facf257be195ceeaa02f49628f7e
Contents?: true
Size: 669 Bytes
Versions: 11
Compression:
Stored size: 669 Bytes
Contents
if !System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("diamond.exs", __DIR__) end ExUnit.start ExUnit.configure exclude: :pending, trace: true defmodule DiamondTest do use ExUnit.Case # @tag :pending test "letter A" do shape = Diamond.build_shape(?A) assert shape == "A\n" end @tag :pending test "letter C" do shape = Diamond.build_shape(?C) assert shape == """ \s A \sB B C C \sB B \s A """ end @tag :pending test "letter E" do shape = Diamond.build_shape(?E) assert shape == """ \s A \s B B \s C C \sD D E E \sD D \s C C \s B B \s A """ end end
Version data entries
11 entries across 11 versions & 1 rubygems