From a84d3ab5f4335ce610a29503e1709bc42faa0bc1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 12 Jan 2016 03:36:28 +0300 Subject: Add unit tests for dyepalette. --- data/test/CMakeLists.txt | 5 +++++ data/test/Makefile.am | 8 ++++++++ data/test/palette.gpl | 12 ++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 data/test/CMakeLists.txt create mode 100644 data/test/Makefile.am create mode 100644 data/test/palette.gpl (limited to 'data/test') diff --git a/data/test/CMakeLists.txt b/data/test/CMakeLists.txt new file mode 100644 index 000000000..83bbb8d5d --- /dev/null +++ b/data/test/CMakeLists.txt @@ -0,0 +1,5 @@ +SET(FILES + palette.gpl + ) + +INSTALL(FILES ${FILES} DESTINATION ${DATA_DIR}/test) diff --git a/data/test/Makefile.am b/data/test/Makefile.am new file mode 100644 index 000000000..904b30852 --- /dev/null +++ b/data/test/Makefile.am @@ -0,0 +1,8 @@ +testdir = $(pkgdatadir)/data/test + +test_DATA = \ + palette.gpl + +EXTRA_DIST = \ + $(test_DATA) \ + CMakeLists.txt diff --git a/data/test/palette.gpl b/data/test/palette.gpl new file mode 100644 index 000000000..1e78d48e3 --- /dev/null +++ b/data/test/palette.gpl @@ -0,0 +1,12 @@ +GIMP Palette +Name: Iron +Columns: 5 +# + 47 56 46 Untitled1 + 72 80 79 Untitled2 + 91 108 107 Untitled3 +125 141 138 Untitled4 +146 157 157 Untitled5 +255 0 0 Untitled6 +0 255 0 Untitled7 +0 0 255 Untitled8 -- cgit v1.2.3-60-g2f50