[gegl] tests: add a test case for stretch-contrast
- From: Téo Mazars <teom src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] tests: add a test case for stretch-contrast
- Date: Thu, 31 Oct 2013 11:02:15 +0000 (UTC)
commit e0856a4c3f1a0a2c37e513cd36b529d7110c3a29
Author: Téo Mazars <teo mazars ensimag fr>
Date: Thu Oct 24 15:51:42 2013 +0200
tests: add a test case for stretch-contrast
tests/compositions/Makefile.am | 1 +
tests/compositions/data/mid_grey_dot.png | Bin 0 -> 672 bytes
tests/compositions/reference/stretch-contrast.png | Bin 0 -> 3358 bytes
tests/compositions/stretch-contrast.xml | 11 +++++++++++
4 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/tests/compositions/Makefile.am b/tests/compositions/Makefile.am
index 2fdddf7..c18837d 100644
--- a/tests/compositions/Makefile.am
+++ b/tests/compositions/Makefile.am
@@ -35,6 +35,7 @@ TESTS = \
rotate.xml \
simple-scale.xml \
softglow.xml \
+ stretch-contrast.xml \
transform.xml \
rectangles.xml
diff --git a/tests/compositions/data/mid_grey_dot.png b/tests/compositions/data/mid_grey_dot.png
new file mode 100644
index 0000000..a1e6eca
Binary files /dev/null and b/tests/compositions/data/mid_grey_dot.png differ
diff --git a/tests/compositions/reference/stretch-contrast.png
b/tests/compositions/reference/stretch-contrast.png
new file mode 100644
index 0000000..0bb55c0
Binary files /dev/null and b/tests/compositions/reference/stretch-contrast.png differ
diff --git a/tests/compositions/stretch-contrast.xml b/tests/compositions/stretch-contrast.xml
new file mode 100644
index 0000000..dd9ea8b
--- /dev/null
+++ b/tests/compositions/stretch-contrast.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<gegl>
+ <node operation='gegl:stretch-contrast'>
+ </node>
+ <node operation='gegl:load'>
+ <params>
+ <param name='path'>data/mid_grey_dot.png</param>
+ </params>
+ </node>
+</gegl>
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]