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

Index_Graph on every small multigraph, on the six kinds of graph, against a model. More...

#include <algorithm>
#include <map>
#include <set>
#include <stdexcept>
#include <string>
#include <utility>
#include <vector>
#include <gtest/gtest.h>
#include <tpl_graph.H>
#include <tpl_indexGraph.H>
#include "graph_harness.H"
#include "graph_oracles.H"
Include dependency graph for graph_exhaustive_index_test.cc:

Go to the source code of this file.

Classes

class  ExhaustiveIndex< GT >
 

Functions

 TYPED_TEST_SUITE (ExhaustiveIndex, All_Kinds)
 
 TYPED_TEST (ExhaustiveIndex, SearchesMatchWhatTheGraphHas)
 

Detailed Description

Index_Graph on every small multigraph, on the six kinds of graph, against a model.

Index_Graph keeps the nodes by their infos and the arcs by their ends, one arc for each pair, unordered unless the graph is directed. The test builds through it every multigraph of the domain of graph_harness.H: a second arc between the same ends must throw domain_error, and the others go in. Then every search must give what the graph has, after the insertions, after the removal of each arc and after that of each node. An index that keeps an arc that the graph freed would read it on a search; the test sees it by the size of the index, without searching.

Definition in file graph_exhaustive_index_test.cc.

Function Documentation

◆ TYPED_TEST()

◆ TYPED_TEST_SUITE()

TYPED_TEST_SUITE ( ExhaustiveIndex  ,
All_Kinds   
)