// Route: GET / (every matrix link resolves; no dead rows) #include "support/Assert.hpp" using namespace molo::example::test; int main() { Fixture f; auto index = f.client->get("/"); check(index.status == 200, "index renders"); std::size_t pos = 0, rows = 0; const std::string marker = "get(href); // /auth/me demands credentials by design; every other row must be 2xx/3xx. bool ok = res.status < 400 || (href == "/auth/me" && res.status == 401); check(ok, "matrix link " + href + " -> " + std::to_string(res.status)); ++rows; } check(rows >= 37, "matrix lists at least the original 37 rows"); return finish("matrix"); }