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

Tests for Index Node. More...

#include <gtest/gtest.h>
#include "../tpl_indexNode.H"
#include "../tpl_graph.H"
Include dependency graph for index-node.cc:

Go to the source code of this file.

Classes

struct  TestNodeData
 
struct  TestNodeCmp
 
class  IndexNodeTest
 

Typedefs

using TestGraph = Aleph::List_Graph< Aleph::Graph_Node< TestNodeData >, Aleph::Graph_Arc< int > >
 

Functions

 TEST_F (IndexNodeTest, InitialState)
 
 TEST_F (IndexNodeTest, InsertInGraphAndSearch)
 
 TEST_F (IndexNodeTest, SearchNonExistent)
 
 TEST_F (IndexNodeTest, Remove)
 
 TEST_F (IndexNodeTest, RemoveFromGraph)
 
 TEST_F (IndexNodeTest, RemoveFromGraphNonExistent)
 
 TEST_F (IndexNodeTest, BuildIndex)
 
 TEST_F (IndexNodeTest, ClearIndex)
 
 TEST_F (IndexNodeTest, ClearGraph)
 

Detailed Description

Tests for Index Node.

Definition in file index-node.cc.

Typedef Documentation

◆ TestGraph

Function Documentation

◆ TEST_F() [1/9]

TEST_F ( IndexNodeTest  ,
BuildIndex   
)

Definition at line 124 of file index-node.cc.

References Aleph::maps(), and Aleph::HTList::size().

◆ TEST_F() [2/9]

TEST_F ( IndexNodeTest  ,
ClearGraph   
)

Definition at line 152 of file index-node.cc.

References Aleph::maps().

◆ TEST_F() [3/9]

TEST_F ( IndexNodeTest  ,
ClearIndex   
)

Definition at line 141 of file index-node.cc.

References Aleph::maps().

◆ TEST_F() [4/9]

TEST_F ( IndexNodeTest  ,
InitialState   
)

Definition at line 73 of file index-node.cc.

References Aleph::maps().

◆ TEST_F() [5/9]

TEST_F ( IndexNodeTest  ,
InsertInGraphAndSearch   
)

Definition at line 77 of file index-node.cc.

References Aleph::maps().

◆ TEST_F() [6/9]

TEST_F ( IndexNodeTest  ,
Remove   
)

Definition at line 94 of file index-node.cc.

References Aleph::maps().

◆ TEST_F() [7/9]

TEST_F ( IndexNodeTest  ,
RemoveFromGraph   
)

Definition at line 106 of file index-node.cc.

References Aleph::maps().

◆ TEST_F() [8/9]

TEST_F ( IndexNodeTest  ,
RemoveFromGraphNonExistent   
)

Definition at line 118 of file index-node.cc.

References Aleph::maps().

◆ TEST_F() [9/9]

TEST_F ( IndexNodeTest  ,
SearchNonExistent   
)

Definition at line 88 of file index-node.cc.

References Aleph::maps().