Sha256: e9dbebb53ea053bbdf541970c0a05fe1ca00c44f2a9f5484f2d85832ed67a9e8
Contents?: true
Size: 852 Bytes
Versions: 69
Compression:
Stored size: 852 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 \s \sB B\s C C \sB B\s \s A \s """ end @tag :pending test "letter E" do shape = Diamond.build_shape(?E) assert shape == """ \s A \s \s B B \s \s C C \s \sD D\s E E \sD D\s \s C C \s \s B B \s \s A \s """ end end
Version data entries
69 entries across 69 versions & 1 rubygems