AreEqual()
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
Parameter | Description |
---|---|
T | First array element type. |
U | Second array element type. |
Arguments
Parameter | Type | Description |
---|---|---|
arrA | const SharedPtr<Array<T>>& | LHS array. |
arrB | const 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
Parameter | Description |
---|---|
T | First array pointee type. |
U | Second array pointee type. |
Arguments
Parameter | Type | Description |
---|---|---|
arrA | const SharedPtr<Array<SharedPtr<T>>>& | LHS array. |
arrB | const 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
Parameter | Description |
---|---|
T | First list element type. |
U | Second list element type. |
Arguments
Parameter | Type | Description |
---|---|---|
listA | const SharedPtr<SCG::List<T>>& | LHS list. |
listB | const 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
Parameter | Description |
---|---|
T | First list pointee type. |
U | Second list pointee type. |
Arguments
Parameter | Type | Description |
---|---|---|
listA | const SharedPtr<SCG::List<SharedPtr<T>>>& | LHS list. |
listB | const 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
Parameter | Description |
---|---|
T | List element type. |
U | Array element type. |
Arguments
Parameter | Type | Description |
---|---|---|
listA | const SharedPtr<SCG::List<T>>& | List. |
arrB | const 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
Parameter | Description |
---|---|
T | Array element type. |
U | List element type. |
Arguments
Parameter | Type | Description |
---|---|---|
arrA | const System::ArrayPtr<T>& | Array. |
listB | const 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
Parameter | Description |
---|---|
T | Array pointee type. |
U | List pointee type. |
Arguments
Parameter | Type | Description |
---|---|---|
arr | const System::ArrayPtr<SharedPtr<T>>& | Array. |
list | const 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
Parameter | Description |
---|---|
T | List pointee type. |
U | Array pointee type. |
Arguments
Parameter | Type | Description |
---|---|---|
list | const SharedPtr<SCG::List<SharedPtr<T>>>& | List. |
arr | const 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
Parameter | Description |
---|---|
K | Key type. |
U | Mapped type. |
Arguments
Parameter | Type | Description |
---|---|---|
dictA | const SharedPtr<SCG::Dictionary<K, U>>& | LHS dictionary. |
dictB | const 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
Parameter | Description |
---|---|
K | Key type. |
U | Mapped pointee type. |
Arguments
Parameter | Type | Description |
---|---|---|
dictA | const SharedPtr<SCG::Dictionary<K, SharedPtr<U>>>& | LHS dictionary. |
dictB | const 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
Parameter | Description |
---|---|
K1 | LHS dictionary key type. |
U1 | LHS dictionary mapped type. |
K2 | RHS dictionary key type. |
U2 | RHS dictionary mapped type. |
Arguments
Parameter | Type | Description |
---|---|---|
dictA | const SharedPtr<SCG::Dictionary<K1, U1>>& | LHS dictionary. |
dictB | const 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
Parameter | Description |
---|---|
T | First hashset element type. |
U | Second hashset element type. |
Arguments
Parameter | Type | Description |
---|---|---|
containerPtrA | const SharedPtr<SCG::HashSet<T>>& | LHS hashset. |
containerPtrB | const 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
Parameter | Description |
---|---|
T | First hashset pointee type. |
U | Second hashset pointee type. |
Arguments
Parameter | Type | Description |
---|---|---|
contA | const SharedPtr<SCG::HashSet<SharedPtr<T>>>& | LHS hashset. |
contB | const 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
Parameter | Description |
---|---|
T | First queue element type. |
U | Second queue element type. |
Arguments
Parameter | Type | Description |
---|---|---|
queueA | const SCG::QueuePtr<T>& | LHS queue. |
queueB | const 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
Parameter | Description |
---|---|
T | First queue pointee type. |
U | Second queue pointee type. |
Arguments
Parameter | Type | Description |
---|---|---|
queueA | const SCG::QueuePtr<SharedPtr<T>>& | LHS queue. |
queueB | const 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
Parameter | Description |
---|---|
T | First stack element type. |
U | Second stack element type. |
Arguments
Parameter | Type | Description |
---|---|---|
stackA | const SharedPtr<SCG::Stack<T>>& | LHS stack. |
stackB | const 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
Parameter | Description |
---|---|
T | First stack pointee type. |
U | Second stack pointee type. |
Arguments
Parameter | Type | Description |
---|---|---|
stackA | const SharedPtr<SCG::Stack<SharedPtr<T>>>& | LHS stack. |
stackB | const 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
Parameter | Description |
---|---|
K | Key type. |
U | Mapped type. |
Arguments
Parameter | Type | Description |
---|---|---|
dictA | const SharedPtr<SCG::SortedDictionary<K, U>>& | LHS dictionary. |
dictB | const 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
Parameter | Description |
---|---|
K | Key type. |
U | Mapped pointee type. |
Arguments
Parameter | Type | Description |
---|---|---|
dictA | const SharedPtr<SCG::SortedDictionary<K, SharedPtr<U>>>& | LHS dictionary. |
dictB | const 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
Parameter | Description |
---|---|
K1 | LHS dictionary key type. |
U1 | LHS dictionary mapped type. |
K2 | RHS dictionary key type. |
U2 | RHS dictionary mapped type. |
Arguments
Parameter | Type | Description |
---|---|---|
dictA | const SharedPtr<SCG::SortedDictionary<K1, U1>>& | LHS dictionary. |
dictB | const 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
Parameter | Description |
---|---|
K | Key type. |
U | Mapped type. |
Arguments
Parameter | Type | Description |
---|---|---|
dictA | const SharedPtr<SCG::SortedList<K, U>>& | LHS list. |
dictB | const 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
Parameter | Description |
---|---|
K | Key type. |
U | Mapped pointee type. |
Arguments
Parameter | Type | Description |
---|---|---|
dictA | const SharedPtr<SCG::SortedList<K, SharedPtr<U>>>& | LHS list. |
dictB | const 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
Parameter | Description |
---|---|
K1 | LHS list key type. |
U1 | LHS list mapped type. |
K2 | RHS list key type. |
U2 | RHS list mapped type. |
Arguments
Parameter | Type | Description |
---|---|---|
dictA | const SharedPtr<SCG::SortedList<K1, U1>>& | LHS list. |
dictB | const 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
Parameter | Type | Description |
---|---|---|
arrA | const System::Collections::Specialized::StringCollectionPtr& | LHS collection. |
arrB | const 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
Parameter | Type | Description |
---|---|---|
et | const System::SharedPtr<SCG::IEnumerable<T>>& | LHS enumerable object. |
eu | const System::SharedPtr<SCG::IEnumerable<U>>& | RHS enumerable object. |
Return Value
True if sizes and data match, false otherwise.
See Also
- Typedef SharedPtr
- Typedef ArrayPtr
- Class Array
- Class List
- Class Dictionary
- Class HashSet
- Class QueuePtr
- Class Stack
- Class SortedDictionary
- Class SortedList
- Class StringCollectionPtr
- Class IEnumerable
- Struct TestCompare
- Namespace System
- Library Aspose.Slides