diff --git a/tests/splines/matrix.cpp b/tests/splines/matrix.cpp index abce83947..598f6c5b3 100644 --- a/tests/splines/matrix.cpp +++ b/tests/splines/matrix.cpp @@ -274,33 +274,6 @@ TEST(Matrix, 3x3Blocks) solve_and_validate(*matrix); } - -TEST(Matrix, PeriodicBand) -{ - std::size_t const N = 10; - std::size_t const k = 3; - std::unique_ptr> top_left_block - = std::make_unique>(N - k, k, k); - std::unique_ptr> matrix - = std::make_unique>(N, k, k, std::move(top_left_block)); - - // Build a periodic band full-rank matrix - for (std::size_t i(0); i < N; ++i) { - for (std::size_t j(0); j < N; ++j) { - std::size_t diag = std::abs((std::ptrdiff_t)j - (std::ptrdiff_t)i) % N; - if (diag == 0 || diag == N) { - matrix->set_element(i, j, 0.5); - } else if (diag <= k || diag >= N - k) { - matrix->set_element(i, j, -1.0 / k); - } - } - } - - solve_and_validate(*matrix); -} - class MatrixSizesFixture : public testing::TestWithParam> { };