Merge pull request #255 from jechol/enhance/map_sets

Remove Enum.fetch usage for MapSet
This commit is contained in:
Jay Hayes
2020-11-09 09:14:49 -06:00
committed by GitHub

View File

@@ -5,11 +5,7 @@ defmodule MapSets do
@set MapSet.new([1, 2, 3, 4, 5])
koan "I am very similar to a list" do
assert Enum.fetch(@set, 0) == {:ok, ___}
end
koan "However, I do not allow duplication" do
koan "I do not allow duplication" do
new_set = MapSet.new([1, 1, 2, 3, 3, 3])
assert MapSet.size(new_set) == ___