[gegl] tests: Add regression test for simple scaling



commit 9278fcc527c2cb38a0c67b8a3ef58617836ded44
Author: Martin Nordholts <martinn src gnome org>
Date:   Sat Jan 23 16:05:35 2010 +0100

    tests: Add regression test for simple scaling
    
    Add regression test for simple scaling. This is the kind of XML file
    you would expect to get if all you want to do is scale an image with
    GEGL.
    
    make distcheck has been confirmed to still pass.

 tests/compositions/reference/simple-scale.png |  Bin 0 -> 579 bytes
 tests/compositions/simple-scale.xml           |   15 +++++++++++++++
 2 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/tests/compositions/reference/simple-scale.png b/tests/compositions/reference/simple-scale.png
new file mode 100644
index 0000000..df74ab1
Binary files /dev/null and b/tests/compositions/reference/simple-scale.png differ
diff --git a/tests/compositions/simple-scale.xml b/tests/compositions/simple-scale.xml
new file mode 100644
index 0000000..246310c
--- /dev/null
+++ b/tests/compositions/simple-scale.xml
@@ -0,0 +1,15 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<gegl>
+  <node operation='gegl:scale'>
+    <params>
+      <param name='filter'>cubic</param>
+      <param name='x'>0.5</param>
+      <param name='y'>0.5</param>
+    </params>
+  </node>
+  <node operation='gegl:load'>
+    <params>
+      <param name="path">data/grid.png</param>
+    </params>
+  </node>
+</gegl>



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