mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-24 05:44:26 +08:00
Uups - re-enabled subtests 1 to 5.
This commit is contained in:
parent
f578dc7aff
commit
2d0dfe5d60
@ -204,32 +204,32 @@ template<typename ArrayType> void array_real(const ArrayType& m)
|
|||||||
void test_array()
|
void test_array()
|
||||||
{
|
{
|
||||||
for(int i = 0; i < g_repeat; i++) {
|
for(int i = 0; i < g_repeat; i++) {
|
||||||
//CALL_SUBTEST_1( array(Array<float, 1, 1>()) );
|
CALL_SUBTEST_1( array(Array<float, 1, 1>()) );
|
||||||
//CALL_SUBTEST_2( array(Array22f()) );
|
CALL_SUBTEST_2( array(Array22f()) );
|
||||||
//CALL_SUBTEST_3( array(Array44d()) );
|
CALL_SUBTEST_3( array(Array44d()) );
|
||||||
//CALL_SUBTEST_4( array(ArrayXXcf(3, 3)) );
|
CALL_SUBTEST_4( array(ArrayXXcf(3, 3)) );
|
||||||
//CALL_SUBTEST_5( array(ArrayXXf(8, 12)) );
|
CALL_SUBTEST_5( array(ArrayXXf(8, 12)) );
|
||||||
CALL_SUBTEST_6( array(ArrayXXi(8, 12)) );
|
CALL_SUBTEST_6( array(ArrayXXi(8, 12)) );
|
||||||
}
|
}
|
||||||
//for(int i = 0; i < g_repeat; i++) {
|
for(int i = 0; i < g_repeat; i++) {
|
||||||
// CALL_SUBTEST_1( comparisons(Array<float, 1, 1>()) );
|
CALL_SUBTEST_1( comparisons(Array<float, 1, 1>()) );
|
||||||
// CALL_SUBTEST_2( comparisons(Array22f()) );
|
CALL_SUBTEST_2( comparisons(Array22f()) );
|
||||||
// CALL_SUBTEST_3( comparisons(Array44d()) );
|
CALL_SUBTEST_3( comparisons(Array44d()) );
|
||||||
// CALL_SUBTEST_5( comparisons(ArrayXXf(8, 12)) );
|
CALL_SUBTEST_5( comparisons(ArrayXXf(8, 12)) );
|
||||||
// CALL_SUBTEST_6( comparisons(ArrayXXi(8, 12)) );
|
CALL_SUBTEST_6( comparisons(ArrayXXi(8, 12)) );
|
||||||
//}
|
}
|
||||||
//for(int i = 0; i < g_repeat; i++) {
|
for(int i = 0; i < g_repeat; i++) {
|
||||||
// CALL_SUBTEST_1( array_real(Array<float, 1, 1>()) );
|
CALL_SUBTEST_1( array_real(Array<float, 1, 1>()) );
|
||||||
// CALL_SUBTEST_2( array_real(Array22f()) );
|
CALL_SUBTEST_2( array_real(Array22f()) );
|
||||||
// CALL_SUBTEST_3( array_real(Array44d()) );
|
CALL_SUBTEST_3( array_real(Array44d()) );
|
||||||
// CALL_SUBTEST_5( array_real(ArrayXXf(8, 12)) );
|
CALL_SUBTEST_5( array_real(ArrayXXf(8, 12)) );
|
||||||
//}
|
}
|
||||||
|
|
||||||
//VERIFY((internal::is_same< internal::global_math_functions_filtering_base<int>::type, int >::value));
|
VERIFY((internal::is_same< internal::global_math_functions_filtering_base<int>::type, int >::value));
|
||||||
//VERIFY((internal::is_same< internal::global_math_functions_filtering_base<float>::type, float >::value));
|
VERIFY((internal::is_same< internal::global_math_functions_filtering_base<float>::type, float >::value));
|
||||||
//VERIFY((internal::is_same< internal::global_math_functions_filtering_base<Array2i>::type, ArrayBase<Array2i> >::value));
|
VERIFY((internal::is_same< internal::global_math_functions_filtering_base<Array2i>::type, ArrayBase<Array2i> >::value));
|
||||||
//typedef CwiseUnaryOp<internal::scalar_sum_op<double>, ArrayXd > Xpr;
|
typedef CwiseUnaryOp<internal::scalar_sum_op<double>, ArrayXd > Xpr;
|
||||||
//VERIFY((internal::is_same< internal::global_math_functions_filtering_base<Xpr>::type,
|
VERIFY((internal::is_same< internal::global_math_functions_filtering_base<Xpr>::type,
|
||||||
// ArrayBase<Xpr>
|
ArrayBase<Xpr>
|
||||||
// >::value));
|
>::value));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user