Matrix now just does the dumping but I need to make this more formal I think.
This commit is contained in:
parent
eb0ca38e30
commit
56b26e1c4a
9 changed files with 44 additions and 33 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue