[gegl] tests: Add composition test for gegl:gamma



commit 13e17712529fb714edcfd67e559bf46b622ff31d
Author: Martin Nordholts <martinn src gnome org>
Date:   Sun Apr 3 13:19:32 2011 +0200

    tests: Add composition test for gegl:gamma

 tests/compositions/Makefile.am         |    1 +
 tests/compositions/gamma.xml           |   13 +++++++++++++
 tests/compositions/reference/gamma.png |  Bin 0 -> 161310 bytes
 3 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/tests/compositions/Makefile.am b/tests/compositions/Makefile.am
index d82bdd4..9f6f1f4 100644
--- a/tests/compositions/Makefile.am
+++ b/tests/compositions/Makefile.am
@@ -36,6 +36,7 @@ TESTS = \
   run-downsizetest-broken.xml.sh       \
   run-downsmoothtest-broken.xml.sh     \
   run-fattal02.xml.sh                  \
+  run-gamma.xml.sh                     \
   run-hdr-color.xml.sh                 \
   run-mantiuk06.xml.sh                 \
   run-pixelise.xml.sh                  \
diff --git a/tests/compositions/gamma.xml b/tests/compositions/gamma.xml
new file mode 100644
index 0000000..7978cc7
--- /dev/null
+++ b/tests/compositions/gamma.xml
@@ -0,0 +1,13 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<gegl>
+  <node operation='gegl:gamma'>
+    <params>
+      <param name='value'>0.5</param>
+    </params>
+  </node>
+  <node operation='gegl:load'>
+    <params>
+      <param name='path'>data/parliament_0.jpg</param>
+    </params>
+  </node>
+</gegl>
diff --git a/tests/compositions/reference/gamma.png b/tests/compositions/reference/gamma.png
new file mode 100644
index 0000000..842d53b
Binary files /dev/null and b/tests/compositions/reference/gamma.png differ



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]