viff

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 diff
     1.1 --- a/viff/test/test_runtime_comp.py	Wed Mar 19 21:50:38 2008 +0100
     1.2 +++ b/viff/test/test_runtime_comp.py	Wed Mar 19 21:50:38 2008 +0100
     1.3 @@ -40,6 +40,19 @@
     1.4      runtime_class = Toft05Runtime
     1.5      operator = operator.le
     1.6  
     1.7 +
     1.8 +class Toft07GreaterThanTest(BinaryOperatorTestCase, RuntimeTestCase):
     1.9 +    runtime_class = Toft07Runtime
    1.10 +    operator = operator.gt
    1.11 +
    1.12  class Toft07GreaterThanEqualTest(BinaryOperatorTestCase, RuntimeTestCase):
    1.13      runtime_class = Toft07Runtime
    1.14      operator = operator.ge
    1.15 +
    1.16 +class Toft07LessThanTest(BinaryOperatorTestCase, RuntimeTestCase):
    1.17 +    runtime_class = Toft07Runtime
    1.18 +    operator = operator.lt
    1.19 +
    1.20 +class Toft07LessThanEqualTest(BinaryOperatorTestCase, RuntimeTestCase):
    1.21 +    runtime_class = Toft07Runtime
    1.22 +    operator = operator.le