|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Comprehensive tests for Net_Sup_Dem_Graph class. More...
Go to the source code of this file.
Classes | |
| class | NetSupDemNodeTest |
| class | NetSupDemGraphTest |
| class | AuxNetTest |
| class | FeasibilityTest |
| class | StringNetTest |
Typedefs | |
| using | SimpleNode = Net_Sup_Dem_Node< Empty_Class, int > |
| using | SimpleArc = Net_Arc< Empty_Class, int > |
| using | SimpleNet = Net_Sup_Dem_Graph< SimpleNode, SimpleArc > |
| using | StringNode = Net_Sup_Dem_Node< std::string, double > |
| using | StringArc = Net_Arc< std::string, double > |
| using | StringNet = Net_Sup_Dem_Graph< StringNode, StringArc > |
Functions | |
| TEST_F (NetSupDemNodeTest, DefaultConstructor) | |
| TEST_F (NetSupDemNodeTest, InfoConstructor) | |
| TEST_F (NetSupDemNodeTest, CopyFromPointer) | |
| TEST_F (NetSupDemNodeTest, GetSupplyFlowModifiable) | |
| TEST_F (NetSupDemGraphTest, DefaultConstructor) | |
| TEST_F (NetSupDemGraphTest, InsertNodeWithSupply) | |
| TEST_F (NetSupDemGraphTest, InsertNodeWithDemand) | |
| TEST_F (NetSupDemGraphTest, InsertTransitNode) | |
| TEST_F (NetSupDemGraphTest, CountSupplyNodes) | |
| TEST_F (NetSupDemGraphTest, CountDemandNodes) | |
| TEST_F (NetSupDemGraphTest, TotalSupply) | |
| TEST_F (NetSupDemGraphTest, TotalDemand) | |
| TEST_F (NetSupDemGraphTest, IsBalanced) | |
| TEST_F (NetSupDemGraphTest, IsNotBalanced) | |
| TEST_F (NetSupDemGraphTest, SetSupplyFlow) | |
| TEST_F (NetSupDemGraphTest, SetDemandFlow) | |
| TEST_F (NetSupDemGraphTest, SetSupplyFlowExceedsCapacityThrows) | |
| TEST_F (NetSupDemGraphTest, SetDemandFlowExceedsCapacityThrows) | |
| TEST_F (AuxNetTest, ComputeAuxNet) | |
| TEST_F (AuxNetTest, ComputeAuxNetTwiceThrows) | |
| TEST_F (AuxNetTest, GetAuxNetBeforeCompute) | |
| TEST_F (AuxNetTest, GetAuxNetAfterCompute) | |
| TEST_F (AuxNetTest, FreeAuxNet) | |
| TEST_F (AuxNetTest, FreeAuxNetWithoutComputeThrows) | |
| TEST_F (AuxNetTest, IsFeasibleWithoutAuxNetThrows) | |
| TEST_F (FeasibilityTest, EmptyNetworkIsFeasible) | |
| TEST_F (FeasibilityTest, SupplyOnlyNetwork) | |
| TEST_F (FeasibilityTest, SupplyNotMeetingFlowRequirement) | |
| TEST_F (FeasibilityTest, DemandMet) | |
| TEST_F (FeasibilityTest, DemandNotMet) | |
| TEST_F (FeasibilityTest, MixedSupplyDemandFeasible) | |
| TEST_F (FeasibilityTest, MixedSupplyDemandNotFeasible) | |
| TEST_F (FeasibilityTest, NonFeasibleSupplyNodes) | |
| TEST_F (FeasibilityTest, NonFeasibleDemandNodes) | |
| TEST_F (FeasibilityTest, MultipleMixedNonFeasibleNodes) | |
| TEST_F (NetSupDemGraphTest, SupplyExceedsOutCapacityThrows) | |
| TEST_F (NetSupDemGraphTest, DemandExceedsInCapacityThrows) | |
| TEST_F (NetSupDemGraphTest, OnlySupplyNodes) | |
| TEST_F (NetSupDemGraphTest, OnlyDemandNodes) | |
| TEST_F (NetSupDemGraphTest, OnlyTransitNodes) | |
| TEST_F (NetSupDemGraphTest, ZeroSupplyValue) | |
| TEST_F (StringNetTest, InsertNodeWithStringInfo) | |
| TEST_F (StringNetTest, DoubleFlowValues) | |
| TEST (NetSupDemDestructorTest, DestructorFreesAuxNet) | |
| TEST (IntegrationTest, CompleteWorkflow) | |
| int | main (int argc, char **argv) |
Comprehensive tests for Net_Sup_Dem_Graph class.
Definition in file net_sup_dem_test.cc.
| using SimpleArc = Net_Arc<Empty_Class, int> |
Definition at line 51 of file net_sup_dem_test.cc.
| using SimpleNet = Net_Sup_Dem_Graph<SimpleNode, SimpleArc> |
Definition at line 52 of file net_sup_dem_test.cc.
| using SimpleNode = Net_Sup_Dem_Node<Empty_Class, int> |
Definition at line 50 of file net_sup_dem_test.cc.
Definition at line 56 of file net_sup_dem_test.cc.
| using StringNet = Net_Sup_Dem_Graph<StringNode, StringArc> |
Definition at line 57 of file net_sup_dem_test.cc.
| using StringNode = Net_Sup_Dem_Node<std::string, double> |
Definition at line 55 of file net_sup_dem_test.cc.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 668 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST | ( | IntegrationTest | , |
| CompleteWorkflow | |||
| ) |
Definition at line 616 of file net_sup_dem_test.cc.
References Aleph::HTList::is_empty(), and Aleph::maps().
| TEST | ( | NetSupDemDestructorTest | , |
| DestructorFreesAuxNet | |||
| ) |
Definition at line 595 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | AuxNetTest | , |
| ComputeAuxNet | |||
| ) |
Definition at line 268 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | AuxNetTest | , |
| ComputeAuxNetTwiceThrows | |||
| ) |
Definition at line 280 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | AuxNetTest | , |
| FreeAuxNet | |||
| ) |
Definition at line 298 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | AuxNetTest | , |
| FreeAuxNetWithoutComputeThrows | |||
| ) |
Definition at line 310 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | AuxNetTest | , |
| GetAuxNetAfterCompute | |||
| ) |
Definition at line 292 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | AuxNetTest | , |
| GetAuxNetBeforeCompute | |||
| ) |
Definition at line 287 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | AuxNetTest | , |
| IsFeasibleWithoutAuxNetThrows | |||
| ) |
Definition at line 315 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | FeasibilityTest | , |
| DemandMet | |||
| ) |
Definition at line 366 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | FeasibilityTest | , |
| DemandNotMet | |||
| ) |
Definition at line 376 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | FeasibilityTest | , |
| EmptyNetworkIsFeasible | |||
| ) |
Definition at line 330 of file net_sup_dem_test.cc.
References Aleph::Net_Sup_Dem_Graph< NodeT, ArcT >::insert_node(), and Aleph::maps().
| TEST_F | ( | FeasibilityTest | , |
| MixedSupplyDemandFeasible | |||
| ) |
Definition at line 386 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | FeasibilityTest | , |
| MixedSupplyDemandNotFeasible | |||
| ) |
Definition at line 402 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | FeasibilityTest | , |
| MultipleMixedNonFeasibleNodes | |||
| ) |
Definition at line 462 of file net_sup_dem_test.cc.
References Aleph::maps(), and Aleph::HTList::size().
| TEST_F | ( | FeasibilityTest | , |
| NonFeasibleDemandNodes | |||
| ) |
Definition at line 442 of file net_sup_dem_test.cc.
References Aleph::DynList< T >::get_first(), Aleph::maps(), and Aleph::HTList::size().
| TEST_F | ( | FeasibilityTest | , |
| NonFeasibleSupplyNodes | |||
| ) |
Definition at line 422 of file net_sup_dem_test.cc.
References Aleph::DynList< T >::get_first(), Aleph::maps(), and Aleph::HTList::size().
| TEST_F | ( | FeasibilityTest | , |
| SupplyNotMeetingFlowRequirement | |||
| ) |
Definition at line 356 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | FeasibilityTest | , |
| SupplyOnlyNetwork | |||
| ) |
Definition at line 346 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | NetSupDemGraphTest | , |
| CountDemandNodes | |||
| ) |
Definition at line 149 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | NetSupDemGraphTest | , |
| CountSupplyNodes | |||
| ) |
Definition at line 139 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | NetSupDemGraphTest | , |
| DefaultConstructor | |||
| ) |
Definition at line 108 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | NetSupDemGraphTest | , |
| DemandExceedsInCapacityThrows | |||
| ) |
Definition at line 496 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | NetSupDemGraphTest | , |
| InsertNodeWithDemand | |||
| ) |
Definition at line 122 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | NetSupDemGraphTest | , |
| InsertNodeWithSupply | |||
| ) |
Definition at line 115 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | NetSupDemGraphTest | , |
| InsertTransitNode | |||
| ) |
Definition at line 129 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | NetSupDemGraphTest | , |
| IsBalanced | |||
| ) |
Definition at line 177 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | NetSupDemGraphTest | , |
| IsNotBalanced | |||
| ) |
Definition at line 186 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | NetSupDemGraphTest | , |
| OnlyDemandNodes | |||
| ) |
Definition at line 524 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | NetSupDemGraphTest | , |
| OnlySupplyNodes | |||
| ) |
Definition at line 509 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | NetSupDemGraphTest | , |
| OnlyTransitNodes | |||
| ) |
Definition at line 539 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | NetSupDemGraphTest | , |
| SetDemandFlow | |||
| ) |
Definition at line 207 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | NetSupDemGraphTest | , |
| SetDemandFlowExceedsCapacityThrows | |||
| ) |
Definition at line 224 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | NetSupDemGraphTest | , |
| SetSupplyFlow | |||
| ) |
Definition at line 198 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | NetSupDemGraphTest | , |
| SetSupplyFlowExceedsCapacityThrows | |||
| ) |
Definition at line 216 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | NetSupDemGraphTest | , |
| SupplyExceedsOutCapacityThrows | |||
| ) |
Definition at line 487 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | NetSupDemGraphTest | , |
| TotalDemand | |||
| ) |
Definition at line 168 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | NetSupDemGraphTest | , |
| TotalSupply | |||
| ) |
Definition at line 159 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | NetSupDemGraphTest | , |
| ZeroSupplyValue | |||
| ) |
Definition at line 554 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | NetSupDemNodeTest | , |
| CopyFromPointer | |||
| ) |
Definition at line 82 of file net_sup_dem_test.cc.
References Aleph::copy(), and Aleph::maps().
| TEST_F | ( | NetSupDemNodeTest | , |
| DefaultConstructor | |||
| ) |
Definition at line 69 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | NetSupDemNodeTest | , |
| GetSupplyFlowModifiable | |||
| ) |
Definition at line 91 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | NetSupDemNodeTest | , |
| InfoConstructor | |||
| ) |
Definition at line 76 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | StringNetTest | , |
| DoubleFlowValues | |||
| ) |
Definition at line 579 of file net_sup_dem_test.cc.
References Aleph::maps().
| TEST_F | ( | StringNetTest | , |
| InsertNodeWithStringInfo | |||
| ) |
Definition at line 572 of file net_sup_dem_test.cc.
References Aleph::Net_Sup_Dem_Graph< NodeT, ArcT >::insert_node(), and Aleph::maps().