AreEqualImpl()
System::TestPredicates::AreEqualImpl(const char *, const char *, const T1, const T2, long long) function
Equal-compares floating point with arithmetic types.
template<typename T1,typename T2> std::enable_if<TypeTraits::AreFPandArithmetic<T1, T2>::value, testing::AssertionResult>::type System::TestPredicates::AreEqualImpl(const char *lhs_expr, const char *rhs_expr, const T1 lhs, const T2 rhs, long long s)
Template parameters
Parameter | Description |
---|---|
T1 | LHS object type. |
T2 | RHS object type. |
Arguments
Parameter | Type | Description |
---|---|---|
lhs_expr | const char * | LHS expression. |
rhs_expr | const char * | RHS expression. |
lhs | const T1 | LHS value. |
rhs | const T2 | RHS value. |
s | long long | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
Return Value
gtest-styled assertion result.
System::TestPredicates::AreEqualImpl(const char *, const char *, const T1&, const T2&, long long) function
Equal-compares values one or both of them being Decimal.
template<typename T1,typename T2> std::enable_if<TypeTraits::AnyOfDecimal<T1, T2>::value, testing::AssertionResult>::type System::TestPredicates::AreEqualImpl(const char *lhs_expr, const char *rhs_expr, const T1 &lhs, const T2 &rhs, long long s)
Template parameters
Parameter | Description |
---|---|
T1 | LHS object type. |
T2 | RHS object type. |
Arguments
Parameter | Type | Description |
---|---|---|
lhs_expr | const char * | LHS expression. |
rhs_expr | const char * | RHS expression. |
lhs | const T1& | LHS value. |
rhs | const T2& | RHS value. |
s | long long | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
Return Value
gtest-styled assertion result.
System::TestPredicates::AreEqualImpl(const char *, const char *, const T&, const T&, long long) function
Equal-compares non-pointer types using Equals method provided.
template<typename T> std::enable_if<!IsSmartPtr<T>::value &&detail::has_method_equals<T>::value, testing::AssertionResult>::type System::TestPredicates::AreEqualImpl(const char *lhs_expr, const char *rhs_expr, const T &lhs, const T &rhs, long long s)
Template parameters
Parameter | Description |
---|---|
T | Object type. |
Arguments
Parameter | Type | Description |
---|---|---|
lhs_expr | const char * | LHS expression. |
rhs_expr | const char * | RHS expression. |
lhs | const T& | LHS value. |
rhs | const T& | RHS value. |
s | long long | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
Return Value
gtest-styled assertion result.
System::TestPredicates::AreEqualImpl(const char *, const char *, T&, const T&, long long) function
Equal-compares non-pointer types using Equals method provided.
template<typename T> std::enable_if<!IsSmartPtr<T>::value &&detail::has_method_equals<T>::value, testing::AssertionResult>::type System::TestPredicates::AreEqualImpl(const char *lhs_expr, const char *rhs_expr, T &lhs, const T &rhs, long long s)
Template parameters
Parameter | Description |
---|---|
T | Object type. |
Arguments
Parameter | Type | Description |
---|---|---|
lhs_expr | const char * | LHS expression. |
rhs_expr | const char * | RHS expression. |
lhs | T& | LHS value. |
rhs | const T& | RHS value. |
s | long long | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
Return Value
gtest-styled assertion result.
System::TestPredicates::AreEqualImpl(const char *, const char *, const T&, const T&, long long) function
Equal-compares non-pointer types using operator == provided.
template<typename T> std::enable_if<!IsSmartPtr<T>::value &&std::is_class<T>::value &&!detail::has_method_equals<T>::value &&detail::has_operator_equal<T>::value, testing::AssertionResult>::type System::TestPredicates::AreEqualImpl(const char *lhs_expr, const char *rhs_expr, const T &lhs, const T &rhs, long long s)
Template parameters
Parameter | Description |
---|---|
T | Object type. |
Arguments
Parameter | Type | Description |
---|---|---|
lhs_expr | const char * | LHS expression. |
rhs_expr | const char * | RHS expression. |
lhs | const T& | LHS value. |
rhs | const T& | RHS value. |
s | long long | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
Return Value
gtest-styled assertion result.
System::TestPredicates::AreEqualImpl(const char *, const char *, T, const System::SharedPtr<Object>&, long long) function
Equal-compares boxable with SmartPtr values.
template<typename T> std::enable_if<IsBoxable<T>::value &&!IsStringByteSequence<T, char16_t>::value, testing::AssertionResult>::type System::TestPredicates::AreEqualImpl(const char *lhs_expr, const char *rhs_expr, T lhs, const System::SharedPtr<Object> &rhs, long long s)
Template parameters
Parameter | Description |
---|---|
T | Object type. |
Arguments
Parameter | Type | Description |
---|---|---|
lhs_expr | const char * | LHS expression. |
rhs_expr | const char * | RHS expression. |
lhs | T | LHS value. |
rhs | const System::SharedPtr<Object>& | RHS value. |
s | long long | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
Return Value
gtest-styled assertion result.
System::TestPredicates::AreEqualImpl(const char *, const char *, const System::SharedPtr<Object>&, T, long long) function
Equal-compares boxable with SmartPtr values.
template<typename T> std::enable_if<IsBoxable<T>::value &&!IsStringByteSequence<T, char16_t>::value, testing::AssertionResult>::type System::TestPredicates::AreEqualImpl(const char *lhs_expr, const char *rhs_expr, const System::SharedPtr<Object> &lhs, T rhs, long long s)
Template parameters
Parameter | Description |
---|---|
T | Object type. |
Arguments
Parameter | Type | Description |
---|---|---|
lhs_expr | const char * | LHS expression. |
rhs_expr | const char * | RHS expression. |
lhs | const System::SharedPtr<Object>& | LHS value. |
rhs | T | RHS value. |
s | long long | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
Return Value
gtest-styled assertion result.
System::TestPredicates::AreEqualImpl(const char *, const char *, const char16_t *, const System::SharedPtr<Object>&, long long) function
Equal-compares string literal with SmartPtr values using unboxing.
testing::AssertionResult System::TestPredicates::AreEqualImpl(const char *lhs_expr, const char *rhs_expr, const char16_t *lhs, const System::SharedPtr<Object> &rhs, long long s)
Arguments
Parameter | Type | Description |
---|---|---|
lhs_expr | const char * | LHS expression. |
rhs_expr | const char * | RHS expression. |
lhs | const char16_t * | LHS value. |
rhs | const System::SharedPtr<Object>& | RHS value. |
s | long long | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
Return Value
gtest-styled assertion result.
System::TestPredicates::AreEqualImpl(const char *, const char *, const System::SharedPtr<Object>&, const char16_t *, long long) function
Equal-compares string literal with SmartPtr values using unboxing.
testing::AssertionResult System::TestPredicates::AreEqualImpl(const char *lhs_expr, const char *rhs_expr, const System::SharedPtr<Object> &lhs, const char16_t *rhs, long long s)
Arguments
Parameter | Type | Description |
---|---|---|
lhs_expr | const char * | LHS expression. |
rhs_expr | const char * | RHS expression. |
lhs | const System::SharedPtr<Object>& | LHS value. |
rhs | const char16_t * | RHS value. |
s | long long | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
Return Value
gtest-styled assertion result.
System::TestPredicates::AreEqualImpl(const char *, const char *, T, std::nullptr_t, long long) function
Equal-compares random type wiht nullptr.
template<typename T> testing::AssertionResult System::TestPredicates::AreEqualImpl(const char *lhs_expr, const char *rhs_expr, T lhs, std::nullptr_t, long long s)
Template parameters
Parameter | Description |
---|---|
T | Object type. |
Arguments
Parameter | Type | Description |
---|---|---|
lhs_expr | const char * | LHS expression. |
rhs_expr | const char * | RHS expression. |
lhs | T | LHS value. |
s | std::nullptr_t | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
Return Value
gtest-styled assertion result.
System::TestPredicates::AreEqualImpl(const char *, const char *, std::nullptr_t, T, long long) function
Equal-compares random type with nullptr.
template<typename T> testing::AssertionResult System::TestPredicates::AreEqualImpl(const char *lhs_expr, const char *rhs_expr, std::nullptr_t, T rhs, long long s)
Template parameters
Parameter | Description |
---|---|
T | Object type. |
Arguments
Parameter | Type | Description |
---|---|---|
lhs_expr | const char * | LHS expression. |
rhs_expr | const char * | RHS expression. |
rhs | std::nullptr_t | RHS value. |
s | T | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
Return Value
gtest-styled assertion result.
System::TestPredicates::AreEqualImpl(const char *, const char *, const T1&, const T2&, long long) function
Equal-compares pointer types.
template<typename T1,typename T2> std::enable_if<IsSmartPtr<T1>::value &&IsSmartPtr<T2>::value &&(!std::is_base_of<System::IO::Stream, typenameT1::Pointee_>::value||!std::is_base_of<System::IO::Stream, typenameT2::Pointee_>::value), testing::AssertionResult>::type System::TestPredicates::AreEqualImpl(const char *lhs_expr, const char *rhs_expr, const T1 &lhs, const T2 &rhs, long long s)
Template parameters
Parameter | Description |
---|---|
T1 | LHS type. |
T2 | RHS type. |
Arguments
Parameter | Type | Description |
---|---|---|
lhs_expr | const char * | LHS expression. |
rhs_expr | const char * | RHS expression. |
lhs | const T1& | LHS value. |
rhs | const T2& | RHS value. |
s | long long | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
Return Value
gtest-styled assertion result.
System::TestPredicates::AreEqualImpl(const char *, const char *, const T1&, const T2&, long long) function
Equal-compares pointer types.
template<typename T1,typename T2> std::enable_if<IsSmartPtr<T1>::value &&IsSmartPtr<T2>::value &&std::is_base_of<System::IO::Stream, typenameT1::Pointee_>::value &&std::is_base_of<System::IO::Stream, typenameT2::Pointee_>::value, testing::AssertionResult>::type System::TestPredicates::AreEqualImpl(const char *lhs_expr, const char *rhs_expr, const T1 &lhs, const T2 &rhs, long long s)
Template parameters
Parameter | Description |
---|---|
T1 | LHS type. |
T2 | RHS type. |
Arguments
Parameter | Type | Description |
---|---|---|
lhs_expr | const char * | LHS expression. |
rhs_expr | const char * | RHS expression. |
lhs | const T1& | LHS value. |
rhs | const T2& | RHS value. |
s | long long | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
Return Value
gtest-styled assertion result.
System::TestPredicates::AreEqualImpl(const char *, const char *, T1, const Nullable<T2>&, long long) function
Equal-compares a random type with a Nullable value.
template<typename T1,typename T2> std::enable_if<!std::is_null_pointer<T1>::value &&!IsNullable<T1>::value, testing::AssertionResult>::type System::TestPredicates::AreEqualImpl(const char *lhs_expr, const char *rhs_expr, T1 lhs, const Nullable<T2> &rhs, long long s)
Template parameters
Parameter | Description |
---|---|
T1 | LHS type. |
T2 | RHS type. |
Arguments
Parameter | Type | Description |
---|---|---|
lhs_expr | const char * | LHS expression. |
rhs_expr | const char * | RHS expression. |
lhs | T1 | LHS value. |
rhs | const Nullable<T2>& | RHS value. |
s | long long | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
Return Value
gtest-styled assertion result.
System::TestPredicates::AreEqualImpl(const char *, const char *, const Nullable<T1>&, T2, long long) function
Equal-compares a Nullable value with a random type.
template<typename T1,typename T2> std::enable_if<!std::is_null_pointer<T2>::value &&!IsNullable<T2>::value, testing::AssertionResult>::type System::TestPredicates::AreEqualImpl(const char *lhs_expr, const char *rhs_expr, const Nullable<T1> &lhs, T2 rhs, long long s)
Template parameters
Parameter | Description |
---|---|
T1 | LHS type. |
T2 | RHS type. |
Arguments
Parameter | Type | Description |
---|---|---|
lhs_expr | const char * | LHS expression. |
rhs_expr | const char * | RHS expression. |
lhs | const Nullable<T1>& | LHS value. |
rhs | T2 | RHS value. |
s | long long | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
Return Value
gtest-styled assertion result.
System::TestPredicates::AreEqualImpl(const char *, const char *, T1, T2, int) function
Equal-compares random types using gtest altorithms.
template<typename T1,typename T2> testing::AssertionResult System::TestPredicates::AreEqualImpl(const char *lhs_expr, const char *rhs_expr, T1 lhs, T2 rhs, int)
Template parameters
Parameter | Description |
---|---|
T1 | LHS type. |
T2 | RHS type. |
Arguments
Parameter | Type | Description |
---|---|---|
lhs_expr | const char * | LHS expression. |
rhs_expr | const char * | RHS expression. |
lhs | T1 | LHS value. |
rhs | T2 | RHS value. |
Return Value
gtest-styled assertion result.
See Also
- Typedef AreFPandArithmetic
- Typedef AnyOfDecimal
- Typedef SharedPtr
- Class Object
- Class Stream
- Class Nullable
- Struct IsSmartPtr
- Struct IsBoxable
- Struct IsStringByteSequence
- Struct IsNullable
- Namespace System::TestPredicates
- Library Aspose.Slides