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

Tests for Euclidian Graph Common. More...

#include <gtest/gtest.h>
#include <euclidian-graph-common.H>
#include <algorithm>
#include <cmath>
#include <cstdint>
#include <string>
#include <tuple>
#include <utility>
#include <vector>
#include <tpl_graph.H>
#include <tpl_sgraph.H>
Include dependency graph for euclidian_graph_common_test.cc:

Go to the source code of this file.

Functions

 TEST (EuclidianGraphCommon, RejectsImpossibleUniquePlacement)
 
 TEST (EuclidianGraphCommon, NodeCoordinatesAreUniqueAndInRange)
 
 TEST (EuclidianGraphCommon, ArcWeightsAreWithinBounds)
 
 TEST (EuclidianGraphCommon, ConsistentStructureForFixedSeed)
 
int main (int argc, char **argv)
 

Detailed Description

Tests for Euclidian Graph Common.

Definition in file euclidian_graph_common_test.cc.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 212 of file euclidian_graph_common_test.cc.

References Aleph::maps().

◆ TEST() [1/4]

TEST ( EuclidianGraphCommon  ,
ArcWeightsAreWithinBounds   
)

◆ TEST() [2/4]

TEST ( EuclidianGraphCommon  ,
ConsistentStructureForFixedSeed   
)

Definition at line 172 of file euclidian_graph_common_test.cc.

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

◆ TEST() [3/4]

TEST ( EuclidianGraphCommon  ,
NodeCoordinatesAreUniqueAndInRange   
)

Definition at line 126 of file euclidian_graph_common_test.cc.

References h, Aleph::maps(), w, and y.

◆ TEST() [4/4]

TEST ( EuclidianGraphCommon  ,
RejectsImpossibleUniquePlacement   
)

Definition at line 120 of file euclidian_graph_common_test.cc.

References Aleph::maps().