fixing remaining float weight type in main.cpp, not using dot exporters for a while...

for/release
Denes Matetelki 12 years ago
parent ed5757a3fd
commit 62b1ce8006

@ -44,7 +44,7 @@ int main()
assert(g.numberOfEdges() == 1); assert(g.numberOfEdges() == 1);
{ {
const std::vector<float> eb = g.edgesBetween(2, 5); const std::vector<int> eb = g.edgesBetween(2, 5);
assert(eb.size() == 1); assert(eb.size() == 1);
assert(eb[0] == 0); assert(eb[0] == 0);
} }
@ -152,8 +152,11 @@ int main()
std::cout << "frankon vege" << std::endl; std::cout << "frankon vege" << std::endl;
// assert(toDot(g2, "itt.dot") == true); // toDot(g2, "itt.dot");
// return 0; // Graph<int> read_g;
// fromDot("itt.dot", read_g);
// assert(g2 == read_g);
Graph<int> g4; Graph<int> g4;

Loading…
Cancel
Save