summaryrefslogtreecommitdiffstats
path: root/share/extensions/tests/test_jitternodes.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--share/extensions/tests/test_jitternodes.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/share/extensions/tests/test_jitternodes.py b/share/extensions/tests/test_jitternodes.py
new file mode 100644
index 0000000..81f8333
--- /dev/null
+++ b/share/extensions/tests/test_jitternodes.py
@@ -0,0 +1,13 @@
+# coding=utf-8
+from jitternodes import JitterNodes
+from inkex.tester import ComparisonMixin, TestCase
+
+
+class JitterNodesBasicTest(ComparisonMixin, TestCase):
+ effect_class = JitterNodes
+ comparisons = [
+ ("--id=p1", "--dist=gaussian", "--end=false", "--ctrl=true"),
+ ("--id=p1", "--dist=uniform", "--ctrl=false"),
+ ("--id=p1", "--dist=pareto", "--radiusy=100", "--ctrl=true"),
+ ("--id=p1", "--dist=lognorm", "--radiusx=100", "--ctrl=true"),
+ ]