equal
deleted
inserted
replaced
1 #include <iostream> |
1 #include <iostream> |
2 #include <hugo/list_graph.h> |
2 #include <hugo/list_graph.h> |
3 #include <hugo/minlengthpaths.h> |
3 #include <hugo/minlengthpaths.h> |
4 #include <path.h> |
4 #include <path.h> |
|
5 #include "test_tools.h" |
5 |
6 |
6 using namespace std; |
7 using namespace std; |
7 using namespace hugo; |
8 using namespace hugo; |
8 |
9 |
9 |
10 |
10 |
11 |
11 bool passed = true; |
12 bool passed = true; |
12 |
|
13 void check(bool rc, char *msg="") { |
|
14 passed = passed && rc; |
|
15 if(!rc) { |
|
16 std::cerr << "Test failed! ("<< msg << ")" << std::endl; \ |
|
17 |
|
18 |
|
19 } |
|
20 } |
|
21 |
|
22 |
13 |
23 |
14 |
24 int main() |
15 int main() |
25 { |
16 { |
26 |
17 |