/** @file * @author Edouard DUPIN * * @copyright 2014, Edouard DUPIN, all right reserved * * @license APACHE v2.0 (see license file) */ #include #include #include "main.h" TEST(TestPolyLine, fill) { std::string data("" "" " " ""); esvg::Document doc; doc.parse(data); etk::FSNodeWriteAllData("TestPolyLine_fill.svg", data); doc.generateAnImage("TestPolyLine_fill.bmp", g_visualDebug); } TEST(TestPolyLine, stroke) { std::string data("" "" " " ""); esvg::Document doc; doc.parse(data); etk::FSNodeWriteAllData("TestPolyLine_stroke.svg", data); doc.generateAnImage("TestPolyLine_stroke.bmp", g_visualDebug); } TEST(TestPolyLine, fill_and_stroke) { std::string data("" "" " " ""); esvg::Document doc; doc.parse(data); etk::FSNodeWriteAllData("TestPolyLine_fill_and_stroke.svg", data); doc.generateAnImage("TestPolyLine_fill_and_stroke.bmp", g_visualDebug); }