[gegl] tests: add a test case for gegl:shift
- From: Téo Mazars <teom src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] tests: add a test case for gegl:shift
- Date: Sat, 23 Nov 2013 16:55:06 +0000 (UTC)
commit e3203a826b7e1bb387def2bc10916ca0312faa95
Author: Téo Mazars <teomazars gmail com>
Date: Sat Nov 23 17:54:01 2013 +0100
tests: add a test case for gegl:shift
tests/compositions/Makefile.am | 1 +
tests/compositions/reference/shift.png | Bin 0 -> 673475 bytes
tests/compositions/shift.xml | 15 +++++++++++++++
3 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/tests/compositions/Makefile.am b/tests/compositions/Makefile.am
index 630e013..5704e05 100644
--- a/tests/compositions/Makefile.am
+++ b/tests/compositions/Makefile.am
@@ -52,6 +52,7 @@ TESTS = \
NO_OPENCL_TESTS = \
rgbe-load.xml \
rgbe-save.xml \
+ shift.xml \
stretch-contrast-hsv.xml \
pnm-raw-load.xml \
pnm-ascii-load.xml
diff --git a/tests/compositions/reference/shift.png b/tests/compositions/reference/shift.png
new file mode 100644
index 0000000..4e6fd3c
Binary files /dev/null and b/tests/compositions/reference/shift.png differ
diff --git a/tests/compositions/shift.xml b/tests/compositions/shift.xml
new file mode 100644
index 0000000..b702c6e
--- /dev/null
+++ b/tests/compositions/shift.xml
@@ -0,0 +1,15 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<gegl>
+ <node operation='gegl:shift'>
+ <params>
+ <param name='direction'>Vertical</param>
+ <param name='shift'>10</param>
+ <param name='seed'>0</param>
+ </params>
+ </node>
+ <node operation='gegl:load'>
+ <params>
+ <param name='path'>data/car-stack.png</param>
+ </params>
+ </node>
+</gegl>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]