/** * @author Edouard DUPIN * * @copyright 2014, Edouard DUPIN, all right reserved * * @license APACHE v2.0 (see license file) */ #include #include #include "main.h" #undef __class__ #define __class__ "TestLine" TEST(TestCap, butt) { std::string data("" "" " " ""); esvg::Document doc; doc.parse(data); etk::FSNodeWriteAllData("TestCap_butt.svg", data); doc.generateAnImage(ivec2(100, 100), "TestCap_butt.bmp", g_visualDebug); } TEST(TestCap, round) { std::string data("" "" " " ""); esvg::Document doc; doc.parse(data); etk::FSNodeWriteAllData("TestCap_round.svg", data); doc.generateAnImage(ivec2(100, 100), "TestCap_round.bmp", g_visualDebug); } TEST(TestCap, square) { std::string data("" "" " " ""); esvg::Document doc; doc.parse(data); etk::FSNodeWriteAllData("TestCap_square.svg", data); doc.generateAnImage(ivec2(100, 100), "TestCap_square.bmp", g_visualDebug); }