| 52 | } |
| 53 | |
| 54 | void test_determinant() |
| 55 | { |
| 56 | for(int i = 0; i < g_repeat; i++) { |
| 57 | int s = 0; |
| 58 | CALL_SUBTEST_1( determinant(Matrix<float, 1, 1>()) ); |
| 59 | CALL_SUBTEST_2( determinant(Matrix<double, 2, 2>()) ); |
| 60 | CALL_SUBTEST_3( determinant(Matrix<double, 3, 3>()) ); |
| 61 | CALL_SUBTEST_4( determinant(Matrix<double, 4, 4>()) ); |
| 62 | CALL_SUBTEST_5( determinant(Matrix<std::complex<double>, 10, 10>()) ); |
| 63 | s = internal::random<int>(1,EIGEN_TEST_MAX_SIZE/4); |
| 64 | CALL_SUBTEST_6( determinant(MatrixXd(s, s)) ); |
| 65 | TEST_SET_BUT_UNUSED_VARIABLE(s) |
| 66 | } |
| 67 | } |
nothing calls this directly
no test coverage detected