remove elementary MapSet.size/1 koan
size is covered under koan "However, I do not allow duplication"
This commit is contained in:
@@ -9,10 +9,6 @@ defmodule MapSets do
|
|||||||
assert Enum.fetch(@set, 0) == {:ok, ___}
|
assert Enum.fetch(@set, 0) == {:ok, ___}
|
||||||
end
|
end
|
||||||
|
|
||||||
koan "How large is my map set?" do
|
|
||||||
assert MapSet.size(@set) == ___
|
|
||||||
end
|
|
||||||
|
|
||||||
koan "However, I do not allow duplication" do
|
koan "However, I do not allow duplication" do
|
||||||
new_set = MapSet.new([1, 1, 2, 3, 3, 3])
|
new_set = MapSet.new([1, 1, 2, 3, 3, 3])
|
||||||
|
|
||||||
|
@@ -5,7 +5,6 @@ defmodule MapSetsTest do
|
|||||||
test "MapSets" do
|
test "MapSets" do
|
||||||
answers = [
|
answers = [
|
||||||
1,
|
1,
|
||||||
5,
|
|
||||||
3,
|
3,
|
||||||
{:multiple, [false, true]},
|
{:multiple, [false, true]},
|
||||||
true,
|
true,
|
||||||
|
Reference in New Issue
Block a user