#include "gtest/gtest.h" #include #include "../common/headless_view.hpp" #include #include using namespace llmr; TEST(Style, Color) { // Setup OpenGL llmr::HeadlessView view; llmr::Map map(view); std::ifstream stylefile("./style-fuzzed.min.js"); ASSERT_FALSE(stylefile.good()); std::stringstream stylejson; stylejson << stylefile.rdbuf(); map.setStyleJSON(stylejson.str()); }