Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
tpl_sparse_table_test.cc File Reference

Unit tests for Gen_Sparse_Table, Sparse_Table and Max_Sparse_Table. More...

#include <gtest/gtest.h>
#include <tpl_sparse_table.H>
#include <algorithm>
#include <cstddef>
#include <numeric>
#include <utility>
#include <vector>
Include dependency graph for tpl_sparse_table_test.cc:

Go to the source code of this file.

Functions

 TEST (SparseTable, EmptyConstructionAndErrors)
 
 TEST (SparseTable, UniformValueConstruction)
 
 TEST (SparseTable, MinAndMaxAgainstBruteForce)
 
 TEST (SparseTable, ConstructorsFromAllContainers)
 
 TEST (SparseTable, CustomAssociativeIdempotentOperation)
 
 TEST (SparseTable, ValuesCopyMoveAndSwap)
 
 TEST (SparseTable, BoundsChecking)
 

Detailed Description

Unit tests for Gen_Sparse_Table, Sparse_Table and Max_Sparse_Table.

Definition in file tpl_sparse_table_test.cc.

Function Documentation

◆ TEST() [1/7]

◆ TEST() [2/7]

◆ TEST() [3/7]

TEST ( SparseTable  ,
CustomAssociativeIdempotentOperation   
)

◆ TEST() [4/7]

TEST ( SparseTable  ,
EmptyConstructionAndErrors   
)

Definition at line 71 of file tpl_sparse_table_test.cc.

References Aleph::divide_and_conquer_partition_dp().

◆ TEST() [5/7]

TEST ( SparseTable  ,
MinAndMaxAgainstBruteForce   
)

◆ TEST() [6/7]

◆ TEST() [7/7]