CheckDiffForAny()

CollectionAssertHelper::CheckDiffForAny(const std::function<bool(int)>&, const System::SharedPtr<System::Collections::Generic::ICollection<int32_t>>&) method

Checks that any collection element adheres the predicate.

static bool System::CollectionAssertHelper::CheckDiffForAny(const std::function<bool(int)> &pred, const System::SharedPtr<System::Collections::Generic::ICollection<int32_t>> &values)

Arguments

ParameterTypeDescription
predconst std::function<bool(int)>&Predicate to check.
valuesconst System::SharedPtr<System::Collections::Generic::ICollection<int32_t>>&Values to check.

Return Value

True if check suceeds for any element, false if all pass.

See Also