TestCompare

TestCompare struct

Service structure providing interface to compare collections.

class TestCompare

Methods

MethodDescription
static bool AbstractEqual(SCG::ICollection<T> *const, SCG::ICollection<T> *const)Compares two collections of unknown type.
static bool AreEqual(const SharedPtr<Array<T>>&, const SharedPtr<Array<U>>&)Compares arrays of non-pointers.
static bool AreEqual(const SharedPtr<Array<SharedPtr<T>>>&, const SharedPtr<Array<SharedPtr<U>>>&)Compares arrays of pointers.
static bool AreEqual(const SharedPtr<SCG::List<T>>&, const SharedPtr<SCG::List<U>>&)Compares lists of non-pointers.
static bool AreEqual(const SharedPtr<SCG::List<SharedPtr<T>>>&, const SharedPtr<SCG::List<SharedPtr<U>>>&)Compares lists of pointers.
static bool AreEqual(const SharedPtr<SCG::List<T>>&, const System::ArrayPtr<U>&)Compares lists with arrays in non-pointers elements case.
static bool AreEqual(const System::ArrayPtr<T>&, const SharedPtr<SCG::List<U>>&)Compares lists with arrays in non-pointers elements case.
static bool AreEqual(const System::ArrayPtr<SharedPtr<T>>&, const SharedPtr<SCG::List<SharedPtr<U>>>&)Compares lists with arrays in pointers elements case.
static bool AreEqual(const SharedPtr<SCG::List<SharedPtr<T>>>&, const System::ArrayPtr<SharedPtr<U>>&)Compares lists with arrays in pointers elements case.
static bool AreEqual(const SharedPtr<SCG::Dictionary<K, U>>&, const SharedPtr<SCG::Dictionary<K, U>>&)Compares dictionaries of non-pointer mapped types.
static bool AreEqual(const SharedPtr<SCG::Dictionary<K, SharedPtr<U>>>&, const SharedPtr<SCG::Dictionary<K, SharedPtr<U>>>&)Compares dictionaries of pointer mapped types.
static bool AreEqual(const SharedPtr<SCG::Dictionary<K1, U1>>&, const SharedPtr<SCG::Dictionary<K2, U2>>&)Compares dictionaries of different types.
static bool AreEqual(const SharedPtr<SCG::HashSet<T>>&, const SharedPtr<SCG::HashSet<U>>&)Compares hashsets of non-pointers.
static bool AreEqual(const SharedPtr<SCG::HashSet<SharedPtr<T>>>&, const SharedPtr<SCG::HashSet<SharedPtr<U>>>&)Compares hashsets of pointers.
static bool AreEqual(const SCG::QueuePtr<T>&, const SCG::QueuePtr<U>&)Compares queues of non-pointers.
static bool AreEqual(const SCG::QueuePtr<SharedPtr<T>>&, const SCG::QueuePtr<SharedPtr<U>>&)Compares queues of pointers.
static bool AreEqual(const SharedPtr<SCG::Stack<T>>&, const SharedPtr<SCG::Stack<U>>&)Compares stacks of non-pointers.
static bool AreEqual(const SharedPtr<SCG::Stack<SharedPtr<T>>>&, const SharedPtr<SCG::Stack<SharedPtr<U>>>&)Compares stacks of pointers.
static bool AreEqual(const SharedPtr<SCG::SortedDictionary<K, U>>&, const SharedPtr<SCG::SortedDictionary<K, U>>&)Compares sorted dictionaries of non-pointer mapped types.
static bool AreEqual(const SharedPtr<SCG::SortedDictionary<K, SharedPtr<U>>>&, const SharedPtr<SCG::SortedDictionary<K, SharedPtr<U>>>&)Compares sorted dictionaries of pointer mapped types.
static bool AreEqual(const SharedPtr<SCG::SortedDictionary<K1, U1>>&, const SharedPtr<SCG::SortedDictionary<K2, U2>>&)Compares sorted dictionaries of different types.
static bool AreEqual(const SharedPtr<SCG::SortedList<K, U>>&, const SharedPtr<SCG::SortedList<K, U>>&)Compares sorted lists of non-pointer mapped types.
static bool AreEqual(const SharedPtr<SCG::SortedList<K, SharedPtr<U>>>&, const SharedPtr<SCG::SortedList<K, SharedPtr<U>>>&)Compares sorted lists of pointer mapped types.
static bool AreEqual(const SharedPtr<SCG::SortedList<K1, U1>>&, const SharedPtr<SCG::SortedList<K2, U2>>&)Compares sorted lists of different types.
static bool AreEqual(const System::Collections::Specialized::StringCollectionPtr&, const System::Collections::Specialized::StringCollectionPtr&)Compares string collections.
static bool AreEqual(const System::SharedPtr<SCG::IEnumerable<T>>&, const System::SharedPtr<SCG::IEnumerable<U>>&)Compares IEnumerable instances.

See Also