test/graph_test.cc added.
It discovered several bugs and warnings in 'include/smart_graph.h',
in 'include/skeletons/graph.h' and in 'work/alpar/list_graph.h'.
They have also been fixed.
7 //! \brief Basic definitions for debug control.
12 //! Example: check whether the edges added to a path are adjacent
13 static const bool consistensy_check = true;
15 static const bool range_check = true;
17 //! Examples: initialize maps with some value;
18 //! after deleting an item from UnionFindEnum set its value in the
19 //! corresponding map to NULL...
20 static const bool ensure_safe_state = true;
24 static const bool consistensy_check = false;
25 static const bool range_check = false;
26 static const bool ensure_safe_state = false;
30 typedef DebugOn DefaultDebugMode;
32 typedef DebugOff DefaultDebugMode;
36 #endif // HUGO_DEBUG_H