|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Tests for Load Digraph. More...
Go to the source code of this file.
Classes | |
| struct | FlagReset |
Functions | |
| TEST (LoadDigraph, LoadsNodesAndArcsAndSkipsShortRows) | |
| TEST (LoadDigraph, CreatesMissingNodesWhenParsingArcs) | |
| TEST (LoadDigraph, EmptyInputsProduceEmptyGraph) | |
| TEST (LoadDigraph, LinesWithExtraSeparatorsAreIgnored) | |
| TEST (GenerateDotFile, ProducesWarningWhenCycleExists) | |
| TEST (GenerateDotFile, EmitsTopologicalRanksWhenAcyclic) | |
| TEST (GenerateDotFile, RespectsOnlyNumFlagWhenTrue) | |
| TEST (Split, BasicSplitWithSingleSeparator) | |
| TEST (Split, SplitWithMultipleSeparators) | |
| TEST (Split, EmptyString) | |
| TEST (Split, OnlySeparators) | |
| TEST (Split, NoSeparatorsFound) | |
| TEST (Split, LeadingAndTrailingSeparators) | |
| TEST (EqualNode, ComparesById) | |
| TEST (LoadDigraph, ArcsWithCommaSeparator) | |
| TEST (LoadDigraph, DuplicateNodeIdsInArcs) | |
| TEST (LoadDigraph, MultipleArcsWithSameEndpoints) | |
| TEST (GenerateDotFile, AllColorsAndShapes) | |
| TEST (GenerateDotFile, SingleNodeGraph) | |
| TEST (GenerateDotFile, DisconnectedComponents) | |
| TEST (SearchNode, FindsExistingNode) | |
| TEST (SearchNode, CreatesNewNodeIfNotFound) | |
| TEST (MinNodeFields, HasCorrectValue) | |
| TEST (LoadDigraph, LargeGraph) | |
Tests for Load Digraph.
Definition in file load_digraph_test.cc.
| TEST | ( | EqualNode | , |
| ComparesById | |||
| ) |
Definition at line 302 of file load_digraph_test.cc.
References Aleph::DynList< T >::append(), Aleph::eq(), and Aleph::maps().
| TEST | ( | GenerateDotFile | , |
| AllColorsAndShapes | |||
| ) |
Definition at line 371 of file load_digraph_test.cc.
References arcs, Aleph::font_size, Aleph::generate_dot_file(), Aleph::load_digraph(), Aleph::maps(), nodes, Aleph::only_num, Aleph::with_class, Aleph::with_nes, and Aleph::with_power.
| TEST | ( | GenerateDotFile | , |
| DisconnectedComponents | |||
| ) |
Definition at line 438 of file load_digraph_test.cc.
References arcs, Aleph::generate_dot_file(), Aleph::load_digraph(), Aleph::maps(), nodes, and Aleph::only_num.
| TEST | ( | GenerateDotFile | , |
| EmitsTopologicalRanksWhenAcyclic | |||
| ) |
Definition at line 196 of file load_digraph_test.cc.
References arcs, Aleph::font_size, Aleph::generate_dot_file(), Aleph::load_digraph(), Aleph::maps(), nodes, Aleph::only_num, Aleph::with_class, Aleph::with_nes, and Aleph::with_power.
| TEST | ( | GenerateDotFile | , |
| ProducesWarningWhenCycleExists | |||
| ) |
Definition at line 170 of file load_digraph_test.cc.
References arcs, Aleph::font_size, Aleph::generate_dot_file(), Aleph::load_digraph(), Aleph::maps(), nodes, Aleph::only_num, Aleph::with_class, Aleph::with_nes, and Aleph::with_power.
| TEST | ( | GenerateDotFile | , |
| RespectsOnlyNumFlagWhenTrue | |||
| ) |
Definition at line 222 of file load_digraph_test.cc.
References arcs, Aleph::font_size, Aleph::generate_dot_file(), Aleph::load_digraph(), Aleph::maps(), nodes, Aleph::only_num, Aleph::with_class, Aleph::with_nes, and Aleph::with_power.
| TEST | ( | GenerateDotFile | , |
| SingleNodeGraph | |||
| ) |
Definition at line 416 of file load_digraph_test.cc.
References arcs, Aleph::generate_dot_file(), Aleph::load_digraph(), Aleph::maps(), nodes, and Aleph::only_num.
| TEST | ( | LoadDigraph | , |
| ArcsWithCommaSeparator | |||
| ) |
Definition at line 317 of file load_digraph_test.cc.
References arcs, Aleph::load_digraph(), Aleph::maps(), and nodes.
| TEST | ( | LoadDigraph | , |
| CreatesMissingNodesWhenParsingArcs | |||
| ) |
Definition at line 112 of file load_digraph_test.cc.
References arcs, Aleph::load_digraph(), Aleph::maps(), nodes, and Aleph::search_node().
| TEST | ( | LoadDigraph | , |
| DuplicateNodeIdsInArcs | |||
| ) |
Definition at line 332 of file load_digraph_test.cc.
References arcs, Aleph::load_digraph(), Aleph::maps(), Aleph::Filter_Iterator< Container, It, Show_Item >::next_ne(), and nodes.
| TEST | ( | LoadDigraph | , |
| EmptyInputsProduceEmptyGraph | |||
| ) |
Definition at line 131 of file load_digraph_test.cc.
References arcs, Aleph::load_digraph(), Aleph::maps(), and nodes.
| TEST | ( | LoadDigraph | , |
| LargeGraph | |||
| ) |
Definition at line 494 of file load_digraph_test.cc.
References arcs, Aleph::generate_dot_file(), Aleph::load_digraph(), Aleph::maps(), and nodes.
| TEST | ( | LoadDigraph | , |
| LinesWithExtraSeparatorsAreIgnored | |||
| ) |
Definition at line 144 of file load_digraph_test.cc.
References arcs, Aleph::load_digraph(), Aleph::maps(), nodes, and Aleph::search_node().
| TEST | ( | LoadDigraph | , |
| LoadsNodesAndArcsAndSkipsShortRows | |||
| ) |
Definition at line 93 of file load_digraph_test.cc.
References arcs, Aleph::load_digraph(), Aleph::maps(), nodes, and Aleph::search_node().
| TEST | ( | LoadDigraph | , |
| MultipleArcsWithSameEndpoints | |||
| ) |
Definition at line 356 of file load_digraph_test.cc.
References arcs, Aleph::load_digraph(), Aleph::maps(), and nodes.
| TEST | ( | MinNodeFields | , |
| HasCorrectValue | |||
| ) |
Definition at line 489 of file load_digraph_test.cc.
References Aleph::maps(), and Aleph::MIN_NODE_FIELDS.
| TEST | ( | SearchNode | , |
| CreatesNewNodeIfNotFound | |||
| ) |
Definition at line 478 of file load_digraph_test.cc.
References Aleph::HTList::is_empty(), Aleph::maps(), and Aleph::search_node().
| TEST | ( | SearchNode | , |
| FindsExistingNode | |||
| ) |
Definition at line 465 of file load_digraph_test.cc.
References Aleph::maps(), and Aleph::search_node().
| TEST | ( | Split | , |
| BasicSplitWithSingleSeparator | |||
| ) |
Definition at line 250 of file load_digraph_test.cc.
References Aleph::maps(), Aleph::DynDlist< T >::size(), and Aleph::split().
| TEST | ( | Split | , |
| EmptyString | |||
| ) |
Definition at line 271 of file load_digraph_test.cc.
References Aleph::maps(), Aleph::DynDlist< T >::size(), and Aleph::split().
| TEST | ( | Split | , |
| LeadingAndTrailingSeparators | |||
| ) |
Definition at line 293 of file load_digraph_test.cc.
References Aleph::maps(), Aleph::DynDlist< T >::size(), and Aleph::split().
| TEST | ( | Split | , |
| NoSeparatorsFound | |||
| ) |
Definition at line 285 of file load_digraph_test.cc.
References Aleph::maps(), Aleph::DynDlist< T >::size(), and Aleph::split().
| TEST | ( | Split | , |
| OnlySeparators | |||
| ) |
Definition at line 278 of file load_digraph_test.cc.
References Aleph::maps(), Aleph::DynDlist< T >::size(), and Aleph::split().
| TEST | ( | Split | , |
| SplitWithMultipleSeparators | |||
| ) |
Definition at line 260 of file load_digraph_test.cc.
References Aleph::maps(), Aleph::DynDlist< T >::size(), and Aleph::split().