[gegl] tests: add a test case for noise-hurl
- From: Téo Mazars <teom src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] tests: add a test case for noise-hurl
- Date: Thu, 14 Nov 2013 18:19:26 +0000 (UTC)
commit 8104d493f02ca2a31fb126af6fdc5194c08e1add
Author: Téo Mazars <teo mazars ensimag fr>
Date: Sat Nov 9 12:40:59 2013 +0100
tests: add a test case for noise-hurl
tests/compositions/Makefile.am | 1 +
tests/compositions/noise-hurl.xml | 16 ++++++++++++++++
tests/compositions/reference/noise-hurl.png | Bin 0 -> 1171757 bytes
3 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/tests/compositions/Makefile.am b/tests/compositions/Makefile.am
index 57bada5..46cfcc7 100644
--- a/tests/compositions/Makefile.am
+++ b/tests/compositions/Makefile.am
@@ -30,6 +30,7 @@ TESTS = \
hdr-color.xml \
image-compare.xml \
mantiuk06.xml \
+ noise-hurl.xml \
pixelize.xml \
posterize.xml \
red-eye-removal.xml \
diff --git a/tests/compositions/noise-hurl.xml b/tests/compositions/noise-hurl.xml
new file mode 100644
index 0000000..c1111ba
--- /dev/null
+++ b/tests/compositions/noise-hurl.xml
@@ -0,0 +1,16 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<gegl>
+ <node operation='gegl:noise-hurl'>
+ <params>
+ <param name='seed'>2147483647</param>
+ <param name='pct-random'>20.0</param>
+ <param name='repeat'>2</param>
+ </params>
+ </node>
+ <node operation='gegl:load'>
+ <params>
+ <param name='path'>data/car-stack.png</param>
+ </params>
+ </node>
+</gegl>
+
diff --git a/tests/compositions/reference/noise-hurl.png b/tests/compositions/reference/noise-hurl.png
new file mode 100644
index 0000000..52865da
Binary files /dev/null and b/tests/compositions/reference/noise-hurl.png differ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]