Sha256: 568581b7b7140922a8195ab687911130cb252f280b91c1ce30ca25c022cf9c70
Contents?: true
Size: 533 Bytes
Versions: 260
Compression:
Stored size: 533 Bytes
Contents
if !System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("hello_world.exs", __DIR__) end ExUnit.start ExUnit.configure exclude: :pending, trace: true defmodule HelloWorldTest do use ExUnit.Case test "says hello with no name" do assert HelloWorld.hello() == "Hello, World!" end @tag :pending test "says hello sample name" do assert HelloWorld.hello("Alice") == "Hello, Alice!" end @tag :pending test "says hello other sample name" do assert HelloWorld.hello("Bob") == "Hello, Bob!" end end
Version data entries
260 entries across 260 versions & 1 rubygems