changeset 581:75e42c1c7c74

Add >, <=, and < unit tests for Toft07Runtime.
author Martin Geisler <mg@daimi.au.dk>
date Wed, 19 Mar 2008 21:50:38 +0100
parents 046931571b8a
children 05b869ec4cd5
files viff/test/test_runtime_comp.py
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/viff/test/test_runtime_comp.py	Wed Mar 19 21:50:38 2008 +0100
+++ b/viff/test/test_runtime_comp.py	Wed Mar 19 21:50:38 2008 +0100
@@ -40,6 +40,19 @@
     runtime_class = Toft05Runtime
     operator = operator.le
 
+
+class Toft07GreaterThanTest(BinaryOperatorTestCase, RuntimeTestCase):
+    runtime_class = Toft07Runtime
+    operator = operator.gt
+
 class Toft07GreaterThanEqualTest(BinaryOperatorTestCase, RuntimeTestCase):
     runtime_class = Toft07Runtime
     operator = operator.ge
+
+class Toft07LessThanTest(BinaryOperatorTestCase, RuntimeTestCase):
+    runtime_class = Toft07Runtime
+    operator = operator.lt
+
+class Toft07LessThanEqualTest(BinaryOperatorTestCase, RuntimeTestCase):
+    runtime_class = Toft07Runtime
+    operator = operator.le