Test access patterns on a tatami::Matrix.
More...
#include <gtest/gtest.h>
#include "tatami/utils/new_extractor.hpp"
#include "tatami/utils/ConsecutiveOracle.hpp"
#include "tatami/utils/FixedOracle.hpp"
#include "fetch.hpp"
#include "create_indexed_subset.hpp"
#include <vector>
#include <limits>
#include <random>
#include <cmath>
#include <memory>
#include <cstdint>
#include <type_traits>
Go to the source code of this file.
|
| namespace | tatami_test |
| | Utilities for testing tatami libraries.
|
| |
|
| TestAccessOptions | tatami_test::convert_test_access_options (const StandardTestAccessOptions &x) |
| |
| auto | tatami_test::standard_test_access_options_combinations () |
| |
| template<typename Value_ , typename Index_ > |
| void | tatami_test::test_full_access (const tatami::Matrix< Value_, Index_ > &matrix, const tatami::Matrix< Value_, Index_ > &reference, const TestAccessOptions &options) |
| |
| template<typename Value_ , typename Index_ > |
| void | tatami_test::test_block_access (const tatami::Matrix< Value_, Index_ > &matrix, const tatami::Matrix< Value_, Index_ > &reference, double relative_start, double relative_length, const TestAccessOptions &options) |
| |
| template<typename Value_ , typename Index_ > |
| void | tatami_test::test_indexed_access (const tatami::Matrix< Value_, Index_ > &matrix, const tatami::Matrix< Value_, Index_ > &reference, double relative_start, double probability, const TestAccessOptions &options) |
| |
| template<typename Value_ , typename Index_ > |
| void | tatami_test::test_simple_column_access (const tatami::Matrix< Value_, Index_ > &matrix, const tatami::Matrix< Value_, Index_ > &reference) |
| |
| template<typename Value_ , typename Index_ > |
| void | tatami_test::test_simple_row_access (const tatami::Matrix< Value_, Index_ > &matrix, const tatami::Matrix< Value_, Index_ > &reference) |
| |
Test access patterns on a tatami::Matrix.