/** @file * @author Edouard DUPIN * * @copyright 2014, Edouard DUPIN, all right reserved * * @license MPL v2.0 (see license file) */ #include #include #include "main.hpp" TEST(TestColor, blending) { etk::String data("" "" " " ""); esvg::Document doc; doc.parse(data); etk::FSNodeWriteAllData("TestColor_blending.svg", data); doc.generateAnImage("TestColor_blending.bmp", g_visualDebug); } TEST(TestColor, opacity) { etk::String data("" "" " " ""); esvg::Document doc; doc.parse(data); etk::FSNodeWriteAllData("TestColor_opacity.svg", data); doc.generateAnImage("TestColor_opacity.bmp", g_visualDebug); } TEST(TestColor, blending_and_opacity) { etk::String data("" "" " " ""); esvg::Document doc; doc.parse(data); etk::FSNodeWriteAllData("TestColor_blending_and_opacity.svg", data); doc.generateAnImage("TestColor_blending_and_opacity.bmp", g_visualDebug); } TEST(TestColor, multiple_layer) { etk::String data("" "" " " " " " " ""); esvg::Document doc; doc.parse(data); etk::FSNodeWriteAllData("TestColor_multiple_layer.svg", data); doc.generateAnImage("TestColor_multiple_layer.bmp", g_visualDebug); }