test_prop 645 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/env python

import os
import sys

sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..'))
sys.path.append(os.path.join(os.path.dirname(__file__), '..'))

from runtest_relaxse import Filter, TestRun

test = TestRun(__file__, sys.argv)

f = Filter()

f.add(string = ' 41   41',
      abs_tolerance = 1.0e-12)

f.add(string = ' 43   44',
      abs_tolerance = 1.0e-12)

f.add(string = ' 44   44',
      abs_tolerance = 1.0e-12)

f.add(string = '45   42',
      abs_tolerance = 1.0e-12)

f.add(string = '45   47',
      abs_tolerance = 1.0e-12)

test.run(['cuo.input'], {'propout': f}, prop=True)

sys.exit(test.return_code)