Skip to content

Commit

Permalink
Increase fft test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
ddemidov committed Mar 21, 2014
1 parent 75440b2 commit bb6eeb9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/fft.cpp
Expand Up @@ -142,6 +142,18 @@ BOOST_AUTO_TEST_CASE(test_dimensions)
// run
if(total <= max) test(ctx, n, batch);
}

// Final run to cover all special factors.
test(ctx, std::vector<size_t>(1, 3), 100);
test(ctx, std::vector<size_t>(1, 4), 100);
test(ctx, std::vector<size_t>(1, 5), 100);
test(ctx, std::vector<size_t>(1, 7), 100);
test(ctx, std::vector<size_t>(1, 8), 100);
test(ctx, std::vector<size_t>(1, 9), 100);
test(ctx, std::vector<size_t>(1, 11), 100);
test(ctx, std::vector<size_t>(1, 13), 100);
test(ctx, std::vector<size_t>(1, 16), 100);
test(ctx, std::vector<size_t>(1, 25), 100);
}

#endif
Expand Down

0 comments on commit bb6eeb9

Please sign in to comment.