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

Tests that a float flow, deprecated, still works. More...

#include <gtest/gtest.h>
#include <tpl_maxflow.H>
#include <tpl_net.H>
Include dependency graph for net_float_flow_test.cc:

Go to the source code of this file.

Functions

 TEST (FloatFlowTest, AFloatFlowStillWorksWhileDeprecated)
 
int main (int argc, char **argv)
 

Detailed Description

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.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 88 of file net_float_flow_test.cc.

◆ TEST()

TEST ( FloatFlowTest  ,
AFloatFlowStillWorksWhileDeprecated   
)