46#include "../tpl_hash.H"
52 "HashSet default backend must remain OLhashTable");
54 "HashMap default backend must remain MapOLhash");
58 cout <<
"Testing tpl_hash.H with new error macros..." <<
endl;
63 cout <<
"Test 1 passed: Normal constructor works" <<
endl;
68 cerr <<
"FAIL: Expected range_error was not thrown" <<
endl;
70 }
catch (
const range_error& e) {
71 string msg = e.what();
74 if (msg.find(
"size mismatch") != string::npos) {
75 cout <<
"Test 2 passed: range_error thrown correctly" <<
endl;
76 cout <<
" Message: " << msg <<
endl;
78 cerr <<
"FAIL: Wrong error message: " << msg <<
endl;
83 cout <<
endl <<
"SUCCESS: All tests passed!" <<
endl;
size_t size_t int32_t value
size_t blossom_maximum_cardinality_matching(const GT &g, DynDlist< typename GT::Arc * > &matching, SA sa=SA())
Alias of compute_maximum_cardinality_general_matching().
Main namespace for Aleph-w library functions.