This repository has been archived by the owner on Nov 19, 2023. It is now read-only.
Releases: KazuCocoa/ex_parameterized
Releases · KazuCocoa/ex_parameterized
1.3.7
- fix nested tuple cases in a list #36
test_with_params "nested tuple in a list", fn a, expected ->
case a do
[1, 0] ->
assert {{1, 1}, 0, []} == expected
[1, 0, 2] ->
assert {{1, 1}, 0, [{2, 2}, {2, 2}]} == expected
end
end do
[
{
[1, 0],
{{1, 1}, 0, []}
},
{
[1, 0, 2],
{{1, 1}, 0, [{2, 2}, {2, 2}]}
}
]
end
1.3.6
1.3.5
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
1.2.0
1.1.0: Merge pull request #8 from KazuCocoa/bump_up
support enumerable as parameter such as the following.
test_with_params "ast from enum",
fn (a) ->
assert a == ["a", "b"]
end do
Enum.map([{["a", "b"]}], fn (x) -> x end)
end
thanks @artburkart ! ( #4 )