AbstractEqual()

TestCompare::AbstractEqual(SCG::ICollection<T> *const, SCG::ICollection<T> *const) method

Compares two collections of unknown type.

template<typename T> static bool System::TestCompare::AbstractEqual(SCG::ICollection<T> *const collA, SCG::ICollection<T> *const collB)

Template parameters

ParameterDescription
TCollection element type.

Arguments

ParameterTypeDescription
collASCG::ICollection<T> *constLHS collection.
collBSCG::ICollection<T> *constRHS collection.

Return Value

true if collections match (e. g. both are null), or if sizes match and elements match, false otherwise.

See Also