File tree Expand file tree Collapse file tree 4 files changed +99
-0
lines changed Expand file tree Collapse file tree 4 files changed +99
-0
lines changed Original file line number Diff line number Diff line change 1+ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
2+ from ..utils import Text2Vest
3+
4+
5+ def test_Text2Vest_inputs ():
6+ input_map = dict (
7+ args = dict (
8+ argstr = "%s" ,
9+ ),
10+ environ = dict (
11+ nohash = True ,
12+ usedefault = True ,
13+ ),
14+ in_file = dict (
15+ argstr = "%s" ,
16+ extensions = None ,
17+ mandatory = True ,
18+ position = 0 ,
19+ ),
20+ out_file = dict (
21+ argstr = "%s" ,
22+ extensions = None ,
23+ mandatory = True ,
24+ position = 1 ,
25+ ),
26+ output_type = dict (),
27+ )
28+ inputs = Text2Vest .input_spec ()
29+
30+ for key , metadata in list (input_map .items ()):
31+ for metakey , value in list (metadata .items ()):
32+ assert getattr (inputs .traits ()[key ], metakey ) == value
33+
34+
35+ def test_Text2Vest_outputs ():
36+ output_map = dict (
37+ out_file = dict (
38+ extensions = None ,
39+ ),
40+ )
41+ outputs = Text2Vest .output_spec ()
42+
43+ for key , metadata in list (output_map .items ()):
44+ for metakey , value in list (metadata .items ()):
45+ assert getattr (outputs .traits ()[key ], metakey ) == value
Original file line number Diff line number Diff line change 1+ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
2+ from ..utils import Vest2Text
3+
4+
5+ def test_Vest2Text_inputs ():
6+ input_map = dict (
7+ args = dict (
8+ argstr = "%s" ,
9+ ),
10+ environ = dict (
11+ nohash = True ,
12+ usedefault = True ,
13+ ),
14+ in_file = dict (
15+ argstr = "%s" ,
16+ extensions = None ,
17+ mandatory = True ,
18+ position = 0 ,
19+ ),
20+ out_file = dict (
21+ argstr = "%s" ,
22+ extensions = None ,
23+ mandatory = True ,
24+ position = 1 ,
25+ ),
26+ output_type = dict (),
27+ )
28+ inputs = Vest2Text .input_spec ()
29+
30+ for key , metadata in list (input_map .items ()):
31+ for metakey , value in list (metadata .items ()):
32+ assert getattr (inputs .traits ()[key ], metakey ) == value
33+
34+
35+ def test_Vest2Text_outputs ():
36+ output_map = dict (
37+ out_file = dict (
38+ extensions = None ,
39+ ),
40+ )
41+ outputs = Vest2Text .output_spec ()
42+
43+ for key , metadata in list (output_map .items ()):
44+ for metakey , value in list (metadata .items ()):
45+ assert getattr (outputs .traits ()[key ], metakey ) == value
Original file line number Diff line number Diff line change 1+ /NumWaves 3
2+ /NumPoints 3
3+ /Matrix
4+ 0 0 0
5+ 0 0 0
6+ 0 0 0
Original file line number Diff line number Diff line change 1+ 0 0 0
2+ 0 0 0
3+ 0 0 0
You can’t perform that action at this time.
0 commit comments