From f5f9427e2a0282dfba98aa54c1cfab449980d7f7 Mon Sep 17 00:00:00 2001
From: Frank Sauerburger <f.sauerburger@cern.ch>
Date: Tue, 11 Jun 2019 00:19:40 +0200
Subject: [PATCH] Define process tests

---
 nnfwtbn/tests/test_process.py | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 nnfwtbn/tests/test_process.py

diff --git a/nnfwtbn/tests/test_process.py b/nnfwtbn/tests/test_process.py
new file mode 100644
index 0000000..050a5f8
--- /dev/null
+++ b/nnfwtbn/tests/test_process.py
@@ -0,0 +1,34 @@
+
+import unittest
+
+class ProcessTestCase(unittest.TestCase):
+    """
+    """
+
+    def test_init(self):
+        """
+        Check that all arguments are stored internally.
+        """
+
+    def test_lambda(self):
+        """
+        Check that a lambda selection is converted to a selection object.
+        """
+
+    def test_init_selection_and_range(self):
+        """
+        Check that an issue is raised if both selection and range is passed to
+        the constructor.
+        """
+
+    def test_repr_cut(self):
+        """
+        Check that the expected string representation is returned when the
+        object uses a selection cut.
+        """
+
+    def test_repr_range(self):
+        """
+        Check that the expected string representation is returned when the
+        object uses a range selection.
+        """
-- 
GitLab