Files
elixir-koans/test/koans/comprehensions_koans_test.exs
2018-09-02 20:36:25 +10:00

19 lines
396 B
Elixir

defmodule ComprehensionsTests do
use ExUnit.Case
import TestHarness
test "Comprehensions" do
answers = [
[1, 4, 9, 16],
[1, 4, 9, 16],
["Hello World", "Apple Pie"],
["little dogs", "little cats", "big dogs", "big cats"],
[4, 5, 6],
["Apple Pie", "Pecan Pie", "Pumpkin Pie"],
]
test_all(Comprehensions, answers)
end
end