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

Tests for Gen_Mo_Algorithm and built-in policies. More...

#include <gtest/gtest.h>
#include <tpl_mo_algorithm.H>
#include <algorithm>
#include <cstddef>
#include <random>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>
Include dependency graph for tpl_mo_algorithm_test.cc:

Go to the source code of this file.

Functions

 TEST (MoAlgorithm, EmptyDataNoQueries)
 
 TEST (MoAlgorithm, SingleElement)
 
 TEST (MoAlgorithm, BoundsChecking)
 
 TEST (MoAlgorithm, ConstructorsAllContainers)
 
 TEST (MoAlgorithm, CopyMoveSwap)
 
 TEST (MoDistinct, BasicSmall)
 
 TEST (MoDistinct, AllSame)
 
 TEST (MoDistinct, AllDistinct)
 
 TEST (MoDistinct, ExhaustiveBruteForce)
 
 TEST (MoDistinct, StressRandom)
 
 TEST (MoPowerful, BasicSmall)
 
 TEST (MoPowerful, ExhaustiveBruteForce)
 
 TEST (MoPowerful, StressRandom)
 
 TEST (MoMode, BasicSmall)
 
 TEST (MoMode, ExhaustiveBruteForce)
 
 TEST (MoMode, StressRandom)
 
 TEST (MoCustom, SumPolicy)
 
 TEST (MoAlgorithm, SnakeOptimizationCorrectness)
 
 TEST (MoAlgorithm, LargeStress)
 

Detailed Description

Tests for Gen_Mo_Algorithm and built-in policies.

Definition in file tpl_mo_algorithm_test.cc.

Function Documentation

◆ TEST() [1/19]

TEST ( MoAlgorithm  ,
BoundsChecking   
)

◆ TEST() [2/19]

TEST ( MoAlgorithm  ,
ConstructorsAllContainers   
)

◆ TEST() [3/19]

TEST ( MoAlgorithm  ,
CopyMoveSwap   
)

◆ TEST() [4/19]

TEST ( MoAlgorithm  ,
EmptyDataNoQueries   
)

◆ TEST() [5/19]

TEST ( MoAlgorithm  ,
LargeStress   
)

◆ TEST() [6/19]

TEST ( MoAlgorithm  ,
SingleElement   
)

◆ TEST() [7/19]

TEST ( MoAlgorithm  ,
SnakeOptimizationCorrectness   
)

◆ TEST() [8/19]

TEST ( MoCustom  ,
SumPolicy   
)

◆ TEST() [9/19]

TEST ( MoDistinct  ,
AllDistinct   
)

◆ TEST() [10/19]

TEST ( MoDistinct  ,
AllSame   
)

◆ TEST() [11/19]

TEST ( MoDistinct  ,
BasicSmall   
)

◆ TEST() [12/19]

TEST ( MoDistinct  ,
ExhaustiveBruteForce   
)

◆ TEST() [13/19]

TEST ( MoDistinct  ,
StressRandom   
)

◆ TEST() [14/19]

TEST ( MoMode  ,
BasicSmall   
)

◆ TEST() [15/19]

TEST ( MoMode  ,
ExhaustiveBruteForce   
)

◆ TEST() [16/19]

TEST ( MoMode  ,
StressRandom   
)

◆ TEST() [17/19]

TEST ( MoPowerful  ,
BasicSmall   
)

◆ TEST() [18/19]

TEST ( MoPowerful  ,
ExhaustiveBruteForce   
)

◆ TEST() [19/19]

TEST ( MoPowerful  ,
StressRandom   
)