summaryrefslogtreecommitdiff
path: root/data/test
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-12 03:36:28 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-12 03:39:04 +0300
commita84d3ab5f4335ce610a29503e1709bc42faa0bc1 (patch)
tree17888b14d39750ac3c6546c536c48a804c391e2c /data/test
parent7ba370f2311ab2e36aa00408e5cfae4c25aa0bca (diff)
downloadmanaverse-a84d3ab5f4335ce610a29503e1709bc42faa0bc1.tar.gz
manaverse-a84d3ab5f4335ce610a29503e1709bc42faa0bc1.tar.bz2
manaverse-a84d3ab5f4335ce610a29503e1709bc42faa0bc1.tar.xz
manaverse-a84d3ab5f4335ce610a29503e1709bc42faa0bc1.zip
Add unit tests for dyepalette.
Diffstat (limited to 'data/test')
-rw-r--r--data/test/CMakeLists.txt5
-rw-r--r--data/test/Makefile.am8
-rw-r--r--data/test/palette.gpl12
3 files changed, 25 insertions, 0 deletions
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