Several changes in Kruskal alg.
- Input object interface was changed to an STL compatible one.
- template parameters of class KruskalPairVec has been simplified.
- (the most of) the names meet the naming conventions.
- a lot of (but still not enough) documentation has been added.
- class KruskalMapVec has been commented out.
3 #include <hugo/error.h>
4 #include "test_tools.h"
10 fault("This is a fault message");
14 throw Exception("This is a fn throwing excpt with some args: ")
18 void unfinished_fn() {
19 FIXME("unfinished_fn() is unfinished!");
26 check(false, "A faulty function did not fail.");
28 catch(const Exception &e) {
29 cout << "Exeption = \"" << e.what() << "\" (Right behaviour)" << endl;
34 check(false, "The function did not throw Exception.");
36 catch(const Exception &e) {
37 cout << "Exeption = \"" << e.what() << "\" (Right behaviour)" << endl;
42 check(false, "FIXME macro does not work.");
44 catch(const Exception &e) {
45 cout << "Exeption = \"" << e.what() << "\" (Right behaviour)" << endl;