tatami_test
Utilities for testing tatami libraries
|
Test unsorted sparse access 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 "test_access.hpp"
#include <vector>
#include <limits>
#include <random>
#include <cmath>
Go to the source code of this file.
Namespaces | |
namespace | tatami_test |
Utilities for testing tatami libraries. | |
Functions | |
template<typename Value_ , typename Index_ > | |
void | tatami_test::test_unsorted_full_access (const tatami::Matrix< Value_, Index_ > &matrix, const TestAccessOptions &options) |
template<typename Value_ , typename Index_ > | |
void | tatami_test::test_unsorted_block_access (const tatami::Matrix< Value_, Index_ > &matrix, double relative_start, double relative_length, const TestAccessOptions &options) |
template<typename Value_ , typename Index_ > | |
void | tatami_test::test_unsorted_indexed_access (const tatami::Matrix< Value_, Index_ > &matrix, double relative_start, double probability, const TestAccessOptions &options) |
Test unsorted sparse access on a tatami::Matrix
.