|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Tests that a float flow, deprecated, still works. More...
Go to the source code of this file.
Functions | |
| TEST (FloatFlowTest, AFloatFlowStillWorksWhileDeprecated) | |
| int | main (int argc, char **argv) |
Tests that a float flow, deprecated, still works.
Net_Arc warns when it is instantiated with float as the type of the flow. The warning comes from the header, so that a user who moves to double can silence it by including the headers between the pragmas below, as this test does: a pragma around the use does not.
Definition in file net_float_flow_test.cc.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 88 of file net_float_flow_test.cc.
| TEST | ( | FloatFlowTest | , |
| AFloatFlowStillWorksWhileDeprecated | |||
| ) |
Definition at line 69 of file net_float_flow_test.cc.
References Aleph::dinic_maximum_flow(), Aleph::edmonds_karp_maximum_flow(), Aleph::ford_fulkerson_maximum_flow(), and value.