Merge pull request #255 from jechol/enhance/map_sets
Remove Enum.fetch usage for MapSet
This commit is contained in:
@@ -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) == ___
|
||||
|
Reference in New Issue
Block a user