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

The filters that the algorithm objects keep. More...

#include <gtest/gtest.h>
#include <optional>
#include <vector>
#include <eulerian.H>
#include <hamiltonian.H>
#include <single_graph.H>
#include <topological_sort.H>
#include <tpl_find_path.H>
#include <tpl_graph.H>
#include <tpl_graph_indexes.H>
#include <tpl_test_acyclique.H>
Include dependency graph for graph_kept_filter_test.cc:

Go to the source code of this file.

Functions

 TEST_F (KeptFilter, AnObjectKeepsTheFilterGivenAsAnRvalue)
 
 TEST_F (KeptFilter, AnObjectUsesTheFilterGivenAsAnLvalue)
 
 TEST_F (KeptFilter, TheCopyOfAnObjectHasItsOwnFilter)
 
 TEST_F (KeptFilter, TheIndexesCallTheirFiltersWhileTheyAreBuilt)
 

Detailed Description

The filters that the algorithm objects keep.

These classes took their filters by reference, also when the filter was a temporary, such as the default argument: a named object referred to a filter that was gone when it ran. A filter given as an lvalue is still used where it is; one given as an rvalue is now moved into the object.

Definition in file graph_kept_filter_test.cc.

Function Documentation

◆ TEST_F() [1/4]

◆ TEST_F() [2/4]

TEST_F ( KeptFilter  ,
AnObjectUsesTheFilterGivenAsAnLvalue   
)

◆ TEST_F() [3/4]

TEST_F ( KeptFilter  ,
TheCopyOfAnObjectHasItsOwnFilter   
)

Definition at line 257 of file graph_kept_filter_test.cc.

References Aleph::copy(), and Aleph::sort().

◆ TEST_F() [4/4]

TEST_F ( KeptFilter  ,
TheIndexesCallTheirFiltersWhileTheyAreBuilt   
)