AreEqual()

Contents
[ ]

TestCompare::AreEqual(const SharedPtr<Array<T>>&, const SharedPtr<Array<U>>&) method

Compares arrays of non-pointers.

template<typename T,typename U> static bool System::TestCompare::AreEqual(const SharedPtr<Array<T>> &arrA, const SharedPtr<Array<U>> &arrB)

Template parameters

ParameterDescription
TFirst array element type.
USecond array element type.

Arguments

ParameterTypeDescription
arrAconst SharedPtr<Array<T>>&LHS array.
arrBconst SharedPtr<Array<U>>&RHS array.

Return Value

true if arrays sizes and data match, false otherwise.

TestCompare::AreEqual(const SharedPtr<Array<SharedPtr<T>>>&, const SharedPtr<Array<SharedPtr<U>>>&) method

Compares arrays of pointers.

template<typename T,typename U> static bool System::TestCompare::AreEqual(const SharedPtr<Array<SharedPtr<T>>> &arrA, const SharedPtr<Array<SharedPtr<U>>> &arrB)

Template parameters

ParameterDescription
TFirst array pointee type.
USecond array pointee type.

Arguments

ParameterTypeDescription
arrAconst SharedPtr<Array<SharedPtr<T>>>&LHS array.
arrBconst SharedPtr<Array<SharedPtr<U>>>&RHS array.

Return Value

true if arrays sizes and objects match, false otherwise.

TestCompare::AreEqual(const SharedPtr<SCG::List<T>>&, const SharedPtr<SCG::List<U>>&) method

Compares lists of non-pointers.

template<typename T,typename U> static bool System::TestCompare::AreEqual(const SharedPtr<SCG::List<T>> &listA, const SharedPtr<SCG::List<U>> &listB)

Template parameters

ParameterDescription
TFirst list element type.
USecond list element type.

Arguments

ParameterTypeDescription
listAconst SharedPtr<SCG::List<T>>&LHS list.
listBconst SharedPtr<SCG::List<U>>&RHS list.

Return Value

true if sizes and data match, false otherwise.

TestCompare::AreEqual(const SharedPtr<SCG::List<SharedPtr<T>>>&, const SharedPtr<SCG::List<SharedPtr<U>>>&) method

Compares lists of pointers.

template<typename T,typename U> static bool System::TestCompare::AreEqual(const SharedPtr<SCG::List<SharedPtr<T>>> &listA, const SharedPtr<SCG::List<SharedPtr<U>>> &listB)

Template parameters

ParameterDescription
TFirst list pointee type.
USecond list pointee type.

Arguments

ParameterTypeDescription
listAconst SharedPtr<SCG::List<SharedPtr<T>>>&LHS list.
listBconst SharedPtr<SCG::List<SharedPtr<U>>>&RHS list.

Return Value

true if lists sizes and objects match, false otherwise.

TestCompare::AreEqual(const SharedPtr<SCG::List<T>>&, const System::ArrayPtr<U>&) method

Compares lists with arrays in non-pointers elements case.

template<typename T,typename U> static bool System::TestCompare::AreEqual(const SharedPtr<SCG::List<T>> &listA, const System::ArrayPtr<U> &arrB)

Template parameters

ParameterDescription
TList element type.
UArray element type.

Arguments

ParameterTypeDescription
listAconst SharedPtr<SCG::List<T>>&List.
arrBconst System::ArrayPtr<U>&Array.

Return Value

true if sizes and data match, false otherwise.

TestCompare::AreEqual(const System::ArrayPtr<T>&, const SharedPtr<SCG::List<U>>&) method

Compares lists with arrays in non-pointers elements case.

template<typename T,typename U> static bool System::TestCompare::AreEqual(const System::ArrayPtr<T> &arrA, const SharedPtr<SCG::List<U>> &listB)

Template parameters

ParameterDescription
TArray element type.
UList element type.

Arguments

ParameterTypeDescription
arrAconst System::ArrayPtr<T>&Array.
listBconst SharedPtr<SCG::List<U>>&List.

Return Value

true if sizes and data match, false otherwise.

TestCompare::AreEqual(const System::ArrayPtr<SharedPtr<T>>&, const SharedPtr<SCG::List<SharedPtr<U>>>&) method

Compares lists with arrays in pointers elements case.

template<typename T,typename U> static bool System::TestCompare::AreEqual(const System::ArrayPtr<SharedPtr<T>> &arr, const SharedPtr<SCG::List<SharedPtr<U>>> &list)

Template parameters

ParameterDescription
TArray pointee type.
UList pointee type.

Arguments

ParameterTypeDescription
arrconst System::ArrayPtr<SharedPtr<T>>&Array.
listconst SharedPtr<SCG::List<SharedPtr<U>>>&List.

Return Value

true if sizes and objects match, false otherwise.

TestCompare::AreEqual(const SharedPtr<SCG::List<SharedPtr<T>>>&, const System::ArrayPtr<SharedPtr<U>>&) method

Compares lists with arrays in pointers elements case.

template<typename T,typename U> static bool System::TestCompare::AreEqual(const SharedPtr<SCG::List<SharedPtr<T>>> &list, const System::ArrayPtr<SharedPtr<U>> &arr)

Template parameters

ParameterDescription
TList pointee type.
UArray pointee type.

Arguments

ParameterTypeDescription
listconst SharedPtr<SCG::List<SharedPtr<T>>>&List.
arrconst System::ArrayPtr<SharedPtr<U>>&Array.

Return Value

true if sizes and objects match, false otherwise.

TestCompare::AreEqual(const SharedPtr<SCG::Dictionary<K, U>>&, const SharedPtr<SCG::Dictionary<K, U>>&) method

Compares dictionaries of non-pointer mapped types.

template<typename K,typename U> static bool System::TestCompare::AreEqual(const SharedPtr<SCG::Dictionary<K, U>> &dictA, const SharedPtr<SCG::Dictionary<K, U>> &dictB)

Template parameters

ParameterDescription
KKey type.
UMapped type.

Arguments

ParameterTypeDescription
dictAconst SharedPtr<SCG::Dictionary<K, U>>&LHS dictionary.
dictBconst SharedPtr<SCG::Dictionary<K, U>>&RHS dictionary.

Return Value

true if dictionaries sizes and data match, false otherwise.

TestCompare::AreEqual(const SharedPtr<SCG::Dictionary<K, SharedPtr<U>>>&, const SharedPtr<SCG::Dictionary<K, SharedPtr<U>>>&) method

Compares dictionaries of pointer mapped types.

template<typename K,typename U> static bool System::TestCompare::AreEqual(const SharedPtr<SCG::Dictionary<K, SharedPtr<U>>> &dictA, const SharedPtr<SCG::Dictionary<K, SharedPtr<U>>> &dictB)

Template parameters

ParameterDescription
KKey type.
UMapped pointee type.

Arguments

ParameterTypeDescription
dictAconst SharedPtr<SCG::Dictionary<K, SharedPtr<U>>>&LHS dictionary.
dictBconst SharedPtr<SCG::Dictionary<K, SharedPtr<U>>>&RHS dictionary.

Return Value

true if dictionaries sizes and data match, false otherwise.

TestCompare::AreEqual(const SharedPtr<SCG::Dictionary<K1, U1>>&, const SharedPtr<SCG::Dictionary<K2, U2>>&) method

Compares dictionaries of different types.

template<typename K1,typename U1,typename K2,typename U2> static bool System::TestCompare::AreEqual(const SharedPtr<SCG::Dictionary<K1, U1>> &dictA, const SharedPtr<SCG::Dictionary<K2, U2>> &dictB)

Template parameters

ParameterDescription
K1LHS dictionary key type.
U1LHS dictionary mapped type.
K2RHS dictionary key type.
U2RHS dictionary mapped type.

Arguments

ParameterTypeDescription
dictAconst SharedPtr<SCG::Dictionary<K1, U1>>&LHS dictionary.
dictBconst SharedPtr<SCG::Dictionary<K2, U2>>&RHS dictionary.

Return Value

Always returns false as type conversion is forbidden here.

TestCompare::AreEqual(const SharedPtr<SCG::HashSet<T>>&, const SharedPtr<SCG::HashSet<U>>&) method

Compares hashsets of non-pointers.

template<typename T,typename U> static bool System::TestCompare::AreEqual(const SharedPtr<SCG::HashSet<T>> &containerPtrA, const SharedPtr<SCG::HashSet<U>> &containerPtrB)

Template parameters

ParameterDescription
TFirst hashset element type.
USecond hashset element type.

Arguments

ParameterTypeDescription
containerPtrAconst SharedPtr<SCG::HashSet<T>>&LHS hashset.
containerPtrBconst SharedPtr<SCG::HashSet<U>>&RHS hashset.

Return Value

true if hashsets sizes and data match, false otherwise.

TestCompare::AreEqual(const SharedPtr<SCG::HashSet<SharedPtr<T>>>&, const SharedPtr<SCG::HashSet<SharedPtr<U>>>&) method

Compares hashsets of pointers.

template<typename T,typename U> static bool System::TestCompare::AreEqual(const SharedPtr<SCG::HashSet<SharedPtr<T>>> &contA, const SharedPtr<SCG::HashSet<SharedPtr<U>>> &contB)

Template parameters

ParameterDescription
TFirst hashset pointee type.
USecond hashset pointee type.

Arguments

ParameterTypeDescription
contAconst SharedPtr<SCG::HashSet<SharedPtr<T>>>&LHS hashset.
contBconst SharedPtr<SCG::HashSet<SharedPtr<U>>>&RHS hashset.

Return Value

true if hashsets sizes and data match, false otherwise.

TestCompare::AreEqual(const SCG::QueuePtr<T>&, const SCG::QueuePtr<U>&) method

Compares queues of non-pointers.

template<typename T,typename U> static bool System::TestCompare::AreEqual(const SCG::QueuePtr<T> &queueA, const SCG::QueuePtr<U> &queueB)

Template parameters

ParameterDescription
TFirst queue element type.
USecond queue element type.

Arguments

ParameterTypeDescription
queueAconst SCG::QueuePtr<T>&LHS queue.
queueBconst SCG::QueuePtr<U>&RHS queue.

Return Value

true if queues sizes and data match, false otherwise.

TestCompare::AreEqual(const SCG::QueuePtr<SharedPtr<T>>&, const SCG::QueuePtr<SharedPtr<U>>&) method

Compares queues of pointers.

template<typename T,typename U> static bool System::TestCompare::AreEqual(const SCG::QueuePtr<SharedPtr<T>> &queueA, const SCG::QueuePtr<SharedPtr<U>> &queueB)

Template parameters

ParameterDescription
TFirst queue pointee type.
USecond queue pointee type.

Arguments

ParameterTypeDescription
queueAconst SCG::QueuePtr<SharedPtr<T>>&LHS queue.
queueBconst SCG::QueuePtr<SharedPtr<U>>&RHS queue.

Return Value

true if queues sizes and data match, false otherwise.

TestCompare::AreEqual(const SharedPtr<SCG::Stack<T>>&, const SharedPtr<SCG::Stack<U>>&) method

Compares stacks of non-pointers.

template<typename T,typename U> static bool System::TestCompare::AreEqual(const SharedPtr<SCG::Stack<T>> &stackA, const SharedPtr<SCG::Stack<U>> &stackB)

Template parameters

ParameterDescription
TFirst stack element type.
USecond stack element type.

Arguments

ParameterTypeDescription
stackAconst SharedPtr<SCG::Stack<T>>&LHS stack.
stackBconst SharedPtr<SCG::Stack<U>>&RHS stack.

Return Value

true if stacks sizes and data match, false otherwise.

TestCompare::AreEqual(const SharedPtr<SCG::Stack<SharedPtr<T>>>&, const SharedPtr<SCG::Stack<SharedPtr<U>>>&) method

Compares stacks of pointers.

template<typename T,typename U> static bool System::TestCompare::AreEqual(const SharedPtr<SCG::Stack<SharedPtr<T>>> &stackA, const SharedPtr<SCG::Stack<SharedPtr<U>>> &stackB)

Template parameters

ParameterDescription
TFirst stack pointee type.
USecond stack pointee type.

Arguments

ParameterTypeDescription
stackAconst SharedPtr<SCG::Stack<SharedPtr<T>>>&LHS stack.
stackBconst SharedPtr<SCG::Stack<SharedPtr<U>>>&RHS stack.

Return Value

true if stacks sizes and data match, false otherwise.

TestCompare::AreEqual(const SharedPtr<SCG::SortedDictionary<K, U>>&, const SharedPtr<SCG::SortedDictionary<K, U>>&) method

Compares sorted dictionaries of non-pointer mapped types.

template<typename K,typename U> static bool System::TestCompare::AreEqual(const SharedPtr<SCG::SortedDictionary<K, U>> &dictA, const SharedPtr<SCG::SortedDictionary<K, U>> &dictB)

Template parameters

ParameterDescription
KKey type.
UMapped type.

Arguments

ParameterTypeDescription
dictAconst SharedPtr<SCG::SortedDictionary<K, U>>&LHS dictionary.
dictBconst SharedPtr<SCG::SortedDictionary<K, U>>&RHS dictionary.

Return Value

true if dictionaries sizes and data match, false otherwise.

TestCompare::AreEqual(const SharedPtr<SCG::SortedDictionary<K, SharedPtr<U>>>&, const SharedPtr<SCG::SortedDictionary<K, SharedPtr<U>>>&) method

Compares sorted dictionaries of pointer mapped types.

template<typename K,typename U> static bool System::TestCompare::AreEqual(const SharedPtr<SCG::SortedDictionary<K, SharedPtr<U>>> &dictA, const SharedPtr<SCG::SortedDictionary<K, SharedPtr<U>>> &dictB)

Template parameters

ParameterDescription
KKey type.
UMapped pointee type.

Arguments

ParameterTypeDescription
dictAconst SharedPtr<SCG::SortedDictionary<K, SharedPtr<U>>>&LHS dictionary.
dictBconst SharedPtr<SCG::SortedDictionary<K, SharedPtr<U>>>&RHS dictionary.

Return Value

true if dictionaries sizes and data match, false otherwise.

TestCompare::AreEqual(const SharedPtr<SCG::SortedDictionary<K1, U1>>&, const SharedPtr<SCG::SortedDictionary<K2, U2>>&) method

Compares sorted dictionaries of different types.

template<typename K1,typename U1,typename K2,typename U2> static bool System::TestCompare::AreEqual(const SharedPtr<SCG::SortedDictionary<K1, U1>> &dictA, const SharedPtr<SCG::SortedDictionary<K2, U2>> &dictB)

Template parameters

ParameterDescription
K1LHS dictionary key type.
U1LHS dictionary mapped type.
K2RHS dictionary key type.
U2RHS dictionary mapped type.

Arguments

ParameterTypeDescription
dictAconst SharedPtr<SCG::SortedDictionary<K1, U1>>&LHS dictionary.
dictBconst SharedPtr<SCG::SortedDictionary<K2, U2>>&RHS dictionary.

Return Value

Always returns false as type conversion is forbidden here.

TestCompare::AreEqual(const SharedPtr<SCG::SortedList<K, U>>&, const SharedPtr<SCG::SortedList<K, U>>&) method

Compares sorted lists of non-pointer mapped types.

template<typename K,typename U> static bool System::TestCompare::AreEqual(const SharedPtr<SCG::SortedList<K, U>> &dictA, const SharedPtr<SCG::SortedList<K, U>> &dictB)

Template parameters

ParameterDescription
KKey type.
UMapped type.

Arguments

ParameterTypeDescription
dictAconst SharedPtr<SCG::SortedList<K, U>>&LHS list.
dictBconst SharedPtr<SCG::SortedList<K, U>>&RHS list.

Return Value

true if lists sizes and data match, false otherwise.

TestCompare::AreEqual(const SharedPtr<SCG::SortedList<K, SharedPtr<U>>>&, const SharedPtr<SCG::SortedList<K, SharedPtr<U>>>&) method

Compares sorted lists of pointer mapped types.

template<typename K,typename U> static bool System::TestCompare::AreEqual(const SharedPtr<SCG::SortedList<K, SharedPtr<U>>> &dictA, const SharedPtr<SCG::SortedList<K, SharedPtr<U>>> &dictB)

Template parameters

ParameterDescription
KKey type.
UMapped pointee type.

Arguments

ParameterTypeDescription
dictAconst SharedPtr<SCG::SortedList<K, SharedPtr<U>>>&LHS list.
dictBconst SharedPtr<SCG::SortedList<K, SharedPtr<U>>>&RHS list.

Return Value

true if lists sizes and data match, false otherwise.

TestCompare::AreEqual(const SharedPtr<SCG::SortedList<K1, U1>>&, const SharedPtr<SCG::SortedList<K2, U2>>&) method

Compares sorted lists of different types.

template<typename K1,typename U1,typename K2,typename U2> static bool System::TestCompare::AreEqual(const SharedPtr<SCG::SortedList<K1, U1>> &dictA, const SharedPtr<SCG::SortedList<K2, U2>> &dictB)

Template parameters

ParameterDescription
K1LHS list key type.
U1LHS list mapped type.
K2RHS list key type.
U2RHS list mapped type.

Arguments

ParameterTypeDescription
dictAconst SharedPtr<SCG::SortedList<K1, U1>>&LHS list.
dictBconst SharedPtr<SCG::SortedList<K2, U2>>&RHS list.

Return Value

Always returns false as type conversion is forbidden here.

TestCompare::AreEqual(const System::Collections::Specialized::StringCollectionPtr&, const System::Collections::Specialized::StringCollectionPtr&) method

Compares string collections.

static bool System::TestCompare::AreEqual(const System::Collections::Specialized::StringCollectionPtr &arrA, const System::Collections::Specialized::StringCollectionPtr &arrB)

Arguments

ParameterTypeDescription
arrAconst System::Collections::Specialized::StringCollectionPtr&LHS collection.
arrBconst System::Collections::Specialized::StringCollectionPtr&RHS collection.

Return Value

True if sizes and data match, false otherwise.

TestCompare::AreEqual(const System::SharedPtr<SCG::IEnumerable<T>>&, const System::SharedPtr<SCG::IEnumerable<U>>&) method

Compares IEnumerable instances.

template<typename T,typename U> static bool System::TestCompare::AreEqual(const System::SharedPtr<SCG::IEnumerable<T>> &et, const System::SharedPtr<SCG::IEnumerable<U>> &eu)

Arguments

ParameterTypeDescription
etconst System::SharedPtr<SCG::IEnumerable<T>>&LHS enumerable object.
euconst System::SharedPtr<SCG::IEnumerable<U>>&RHS enumerable object.

Return Value

True if sizes and data match, false otherwise.

See Also