Matrix now just does the dumping but I need to make this more formal I think.

This commit is contained in:
Zed A. Shaw 2024-12-05 09:17:30 -05:00
parent eb0ca38e30
commit 56b26e1c4a
9 changed files with 44 additions and 33 deletions

View file

@ -3,7 +3,7 @@
#include <nlohmann/json.hpp>
#include <fstream>
#include "pathing.hpp"
#include "map.hpp"
#include "matrix.hpp"
using namespace fmt;
using namespace nlohmann;
@ -30,6 +30,8 @@ TEST_CASE("dijkstra algo test", "[pathing]") {
REQUIRE(pathing.INVARIANT());
// REQUIRE(pathing.$paths == expected);
matrix_dump("PATHING RESULT", pathing.$paths);
matrix_dump("PATHING EXPECTED", expected);
REQUIRE(pathing.$paths == expected);
}
}