/srv/osrm/osrm-backend/third_party/vtzero/test
NameSizeModeActions
catch/-0755rm
data/-0755rm
include/-0755rm
t/-0755rm
CMakeLists.txt27980644editdlrm
fixture_tests.cpp325950644editdlrm
test_main.cpp6170644editdlrm
Edit: /srv/osrm/osrm-backend/third_party/vtzero/test/test_main.cpp (617B)
#define CATCH_CONFIG_MAIN #include "catch.hpp" #include #include #include #include bool got_an_assert = false; std::string load_test_tile() { std::string path{"data/mapbox-streets-v6-14-8714-8017.mvt"}; std::ifstream stream{path, std::ios_base::in|std::ios_base::binary}; if (!stream.is_open()) { throw std::runtime_error{"could not open: '" + path + "'"}; } const std::string message{std::istreambuf_iterator(stream.rdbuf()), std::istreambuf_iterator()}; stream.close(); return message; }