Expected functions which return outstanding/atom are supported but only with an arity of 1 (the sole parameter is implicit, and is expected).
Improve expected functions so that they can be a tuple of function and arguments this allows expected function:
{&any_of/2, }, where actual satisfies expected if outstanding(element, actual) returns nil for any of the elements in expected list.
{&all_of/2, }, where actual satisfies expected if the actual collection returns nil outstanding for all of the elements in the expected list.
{&one_of/2, }, where actual satisfies expected if actual collection returns nil expecting for exactly one of the elements in expected list.
Expected functions which return outstanding/atom are supported but only with an arity of 1 (the sole parameter is implicit, and is expected).
Improve expected functions so that they can be a tuple of function and arguments this allows expected function:
{&any_of/2, }, where actual satisfies expected if outstanding(element, actual) returns nil for any of the elements in expected list.
{&all_of/2, }, where actual satisfies expected if the actual collection returns nil outstanding for all of the elements in the expected list.
{&one_of/2, }, where actual satisfies expected if actual collection returns nil expecting for exactly one of the elements in expected list.