source: cpp/tests/SDK-tests.txt @ 1318

Last change on this file since 1318 was 1300, checked in by sz, 7 months ago

geno_test result updated ("Not all Parts connected" is WARN since r12178)

  • Property svn:eol-style set to native
File size: 12.1 KB
Line 
1exe:geno_test
2
3TESTNAME:geno_test valid f1
4arg:XrqX[G:1.23][-1:2.34]
5out:valid
6out:
7RUNTEST
8
9TESTNAME:geno_test invalid f1
10arg:rq[0:0]
11out:[WARN] Geno.isValid: 1 warning(s) while checking validity of ''
12out:[WARN] Geno.isValid: ...[WARN] GenoConv_F1.grow: Illegal neuron position (ignored)
13out:invalid
14out:
15RUNTEST
16
17TESTNAME:geno_test valid f0
18arg:-
19in://0
20in:p:
21in:p:1
22in:j:0,1
23out:valid
24out:
25RUNTEST
26
27TESTNAME:geno_test invalid f0
28arg:-
29in://0
30in:p:
31in:p:
32out:[WARN] Geno.isValid: 1 warning(s) while checking validity of ''
33out:[WARN] Geno.isValid: ...[WARN] Model.internalCheck: Not all Parts connected (e.g., Part #0 and Part #1)
34out:invalid
35out:
36RUNTEST
37
38################################## another executable... ##################################
39
40exe:full_props
41
42TESTNAME:full_props
43arg:X
44out:*INSERTPLATFORMDEPENDENTFILE*:full_props_x
45RUNTEST
46
47TESTNAME:full_props with a more complex genotype
48arg:FIX[@,p:0.6543,1:-1.23456]X[G]
49out:*INSERTPLATFORMDEPENDENTFILE*:full_props-complex
50RUNTEST
51
52TESTNAME:full_props with fS
53arg:/*S*/1.1,0,0.4:C[Gpart]{x=0.806,y=0.806,z=2.295}(C[N;M:p=0.899]{x=0.806,z=0.806}(E{rx=1.3416,ry=-1.3967,rz=1.1368,tx=-0.7694,ty=1.0496,tz=-0.1275,x=1,y=1,z=1},bIE[N,1]{rx=-1.277,ry=-1.087,rz=-0.9208,tx=1.189,ty=1.1182,tz=-0.1494,x=1,y=1,z=1}E{rx=0.4085,ry=1.0807,rz=0.5977,tx=0.4698,ty=0.3333,tz=1.4408,x=1,y=1,z=1}E{rx=-0.9279,ry=-0.2806,rz=-0.7292,tx=1.1498,ty=-0.6195,tz=0.0121,x=1,y=1,z=1}),biR[N]{ry=0.271,x=1.0144,y=0.903,z=0.903}(R{rx=0.3229,ry=-0.3828,rz=1.5117,tx=0.7618,ty=1.3803,tz=1.354,x=0.8736,y=0.8736,z=0.8736},E{rx=1.3416,ry=-1.3967,rz=1.1368,tx=-0.7694,ty=1.0496,tz=-0.1275,x=1,y=1,z=1}),iC{rx=-0.9744,ry=-1.5695,rz=1.1659,tx=-0.9065,ty=-1.2759,tz=-0.0857,x=1.273,y=0.133,z=1.509},R{rx=0.3229,ry=-0.3828,rz=1.5117,tx=0.7618,ty=1.3803,tz=1.354,x=0.8736,y=0.8736,z=0.8736},iE{rx=1.3416,ry=-1.3967,rz=1.1368,tx=-0.7694,ty=1.0496,tz=-0.1275,x=1,y=1,z=1})
54out:*INSERTPLATFORMDEPENDENTFILE*:full_props-fS
55RUNTEST
56
57################################## another executable... ##################################
58
59exe:f0_variants_test
60
61TESTNAME:f0_variants_test
62out:*INSERTPLATFORMDEPENDENTFILE*:f0_variants_test-default
63RUNTEST
64
65TESTNAME:f0_variants_test with a more complex genotype
66arg:FIX[@,p:0.6543,1:-1.23456]X[G]
67out:*INSERTPLATFORMDEPENDENTFILE*:f0_variants_test-complex
68RUNTEST
69
70TESTNAME:f0_variants_test with fS
71arg:/*S*/1.1,0,0.4:C[Gpart]{x=0.806,y=0.806,z=2.295}(C[N;M:p=0.899]{x=0.806,z=0.806}(E{rx=1.3416,ry=-1.3967,rz=1.1368,tx=-0.7694,ty=1.0496,tz=-0.1275,x=1,y=1,z=1},bIE[N,1]{rx=-1.277,ry=-1.087,rz=-0.9208,tx=1.189,ty=1.1182,tz=-0.1494,x=1,y=1,z=1}E{rx=0.4085,ry=1.0807,rz=0.5977,tx=0.4698,ty=0.3333,tz=1.4408,x=1,y=1,z=1}E{rx=-0.9279,ry=-0.2806,rz=-0.7292,tx=1.1498,ty=-0.6195,tz=0.0121,x=1,y=1,z=1}),biR[N]{ry=0.271,x=1.0144,y=0.903,z=0.903}(R{rx=0.3229,ry=-0.3828,rz=1.5117,tx=0.7618,ty=1.3803,tz=1.354,x=0.8736,y=0.8736,z=0.8736},E{rx=1.3416,ry=-1.3967,rz=1.1368,tx=-0.7694,ty=1.0496,tz=-0.1275,x=1,y=1,z=1}),iC{rx=-0.9744,ry=-1.5695,rz=1.1659,tx=-0.9065,ty=-1.2759,tz=-0.0857,x=1.273,y=0.133,z=1.509},R{rx=0.3229,ry=-0.3828,rz=1.5117,tx=0.7618,ty=1.3803,tz=1.354,x=0.8736,y=0.8736,z=0.8736},iE{rx=1.3416,ry=-1.3967,rz=1.1368,tx=-0.7694,ty=1.0496,tz=-0.1275,x=1,y=1,z=1})
72out:*INSERTPLATFORMDEPENDENTFILE*:f0_variants_test-fS
73RUNTEST
74
75################################## another executable... ##################################
76
77exe:genoconv_test
78
79TESTNAME:genoconv_test
80out:*INSERTPLATFORMDEPENDENTFILE*:genoconv_test-default
81RUNTEST
82
83TESTNAME:genoconv_test with a more complex genotype
84arg:FIX[@,p:0.6543,1:-1.23456]X[G]
85out:*INSERTPLATFORMDEPENDENTFILE*:genoconv_test-complex
86RUNTEST
87
88TESTNAME:genoconv_test with a simple multiplying converter
89arg:/*multiply*/2X2r3X2(X2)
90out:*INSERTPLATFORMDEPENDENTFILE*:genoconv_test-simplemultiply
91RUNTEST
92
93TESTNAME:genoconv_test with a simple solid-shape converter
94arg:/*shapes*/ball,cube,cylinder,cube
95out:*INSERTPLATFORMDEPENDENTFILE*:genoconv_test-simplesolids
96RUNTEST
97
98################################## another executable... ##################################
99
100exe:genomanipulation
101
102TESTNAME:genomanipulation
103out:*INSERTPLATFORMDEPENDENTFILE*:genomanipulation-default
104RUNTEST
105
106TESTNAME:genomanipulation with a more complex genotype
107arg:FIX[@,p:0.6543,1:-1.23456]X[G]
108out:*INSERTPLATFORMDEPENDENTFILE*:genomanipulation-complex
109RUNTEST
110
111TESTNAME:genomanipulation with fS
112arg:/*S*/1.1,0,0.4:C[Gpart]{x=0.806,y=0.806,z=2.295}(C[N;M:p=0.899]{x=0.806,z=0.806}(E{rx=1.3416,ry=-1.3967,rz=1.1368,tx=-0.7694,ty=1.0496,tz=-0.1275,x=1,y=1,z=1},bIE[N,1]{rx=-1.277,ry=-1.087,rz=-0.9208,tx=1.189,ty=1.1182,tz=-0.1494,x=1,y=1,z=1}E{rx=0.4085,ry=1.0807,rz=0.5977,tx=0.4698,ty=0.3333,tz=1.4408,x=1,y=1,z=1}E{rx=-0.9279,ry=-0.2806,rz=-0.7292,tx=1.1498,ty=-0.6195,tz=0.0121,x=1,y=1,z=1}),biR[N]{ry=0.271,x=1.0144,y=0.903,z=0.903}(R{rx=0.3229,ry=-0.3828,rz=1.5117,tx=0.7618,ty=1.3803,tz=1.354,x=0.8736,y=0.8736,z=0.8736},E{rx=1.3416,ry=-1.3967,rz=1.1368,tx=-0.7694,ty=1.0496,tz=-0.1275,x=1,y=1,z=1}),iC{rx=-0.9744,ry=-1.5695,rz=1.1659,tx=-0.9065,ty=-1.2759,tz=-0.0857,x=1.273,y=0.133,z=1.509},R{rx=0.3229,ry=-0.3828,rz=1.5117,tx=0.7618,ty=1.3803,tz=1.354,x=0.8736,y=0.8736,z=0.8736},iE{rx=1.3416,ry=-1.3967,rz=1.1368,tx=-0.7694,ty=1.0496,tz=-0.1275,x=1,y=1,z=1})
113out:*INSERTPLATFORMDEPENDENTFILE*:genomanipulation-fS
114RUNTEST
115
116################################## another executable... ##################################
117
118exe:genooper_test
119
120TESTNAME:genooper_test
121out:*INSERTPLATFORMDEPENDENTFILE*:genooper_test-default
122#RUNTEST #fS unstable and crashes all the time, so commented out
123#make deterministic?
124
125TESTNAME:genooper_test with a more complex genotype
126arg:/*4*/<<N:ML<rCXm>N:T>N:T><N:T><X>N:@[G:2.427]
127out:*INSERTPLATFORMDEPENDENTFILE*:genooper_test-complex
128#RUNTEST
129
130################################## another executable... ##################################
131
132TESTNAME:genooper_test_fTest
133exe:genooper_test_fTest
134out:*INSERTPLATFORMDEPENDENTFILE*:genooper_test_fTest
135RUNTEST
136
137################################## another executable... ##################################
138
139TESTNAME:loader_test_geno
140exe:loader_test_geno
141arg:similarity.gen
142arg:Spiral plant
143out:*INSERTPLATFORMDEPENDENTFILE*:loader_test_geno
144RUNTEST
145
146################################## another executable... ##################################
147
148TESTNAME:loader_test_param
149exe:loader_test_param
150arg:../frams/_demos/loader_test_param.in
151out:*INSERTPLATFORMDEPENDENTFILE*:loader_test_param
152RUNTEST
153
154################################## another executable... ##################################
155
156exe:multiline_f0_test
157
158TESTNAME:multiline_f0_test default
159out:*INSERTPLATFORMDEPENDENTFILE*:multiline_f0_test-default
160RUNTEST
161
162TESTNAME:multiline_f0_test with complex genotype
163arg:FIX[@,p:0.6543,1:-1.23456]X[G]
164out:*INSERTPLATFORMDEPENDENTFILE*:multiline_f0_test-complex
165RUNTEST
166
167TESTNAME:multiline_f0_test with fS
168arg:/*S*/1.1,0,0.4:C[Gpart]{x=0.806,y=0.806,z=2.295}(C[N;M:p=0.899]{x=0.806,z=0.806}(E{rx=1.3416,ry=-1.3967,rz=1.1368,tx=-0.7694,ty=1.0496,tz=-0.1275,x=1,y=1,z=1},bIE[N,1]{rx=-1.277,ry=-1.087,rz=-0.9208,tx=1.189,ty=1.1182,tz=-0.1494,x=1,y=1,z=1}E{rx=0.4085,ry=1.0807,rz=0.5977,tx=0.4698,ty=0.3333,tz=1.4408,x=1,y=1,z=1}E{rx=-0.9279,ry=-0.2806,rz=-0.7292,tx=1.1498,ty=-0.6195,tz=0.0121,x=1,y=1,z=1}),biR[N]{ry=0.271,x=1.0144,y=0.903,z=0.903}(R{rx=0.3229,ry=-0.3828,rz=1.5117,tx=0.7618,ty=1.3803,tz=1.354,x=0.8736,y=0.8736,z=0.8736},E{rx=1.3416,ry=-1.3967,rz=1.1368,tx=-0.7694,ty=1.0496,tz=-0.1275,x=1,y=1,z=1}),iC{rx=-0.9744,ry=-1.5695,rz=1.1659,tx=-0.9065,ty=-1.2759,tz=-0.0857,x=1.273,y=0.133,z=1.509},R{rx=0.3229,ry=-0.3828,rz=1.5117,tx=0.7618,ty=1.3803,tz=1.354,x=0.8736,y=0.8736,z=0.8736},iE{rx=1.3416,ry=-1.3967,rz=1.1368,tx=-0.7694,ty=1.0496,tz=-0.1275,x=1,y=1,z=1})
169out:*INSERTPLATFORMDEPENDENTFILE*:multiline_f0_test-fS
170RUNTEST
171
172################################## another executable... ##################################
173
174TESTNAME:mutableparam_test
175exe:mutableparam_test
176out:*INSERTPLATFORMDEPENDENTFILE*:mutableparam_test
177RUNTEST
178
179################################## another executable... ##################################
180
181TESTNAME:neuro_layout_test
182exe:neuro_layout_test
183arg:/*4*/<lX>Cfm<,fmm<<,Rfm<<<<<rQFX>N:N[-2:-0.2][1:2]>N:Gpart>X>rm<fm<<<N:|<>[-2:3.64]>mQ<,fmm<<,Rfm<<<<<rFX#2>>N:N[-2:-0.2]>N:Gpart>Xf>rm<fm<<<N:|<#2>>[-2:3.64]>XF>mN:*>X>X>N:T>N:N[-2:2][2:1]><<X><<rFX>N:N[-2:3.5][-2:-0.2][-2:1]>X>rm<fm<<<N:|<>[-2:3.64]>XF>mN:*>X>X>N:Sin>mmN:*>X>X>N:T>N:T>m<<<N:|<#2>>[-2:3.64]>XF>mN:*>X>N:T>
184out:*INSERTPLATFORMDEPENDENTFILE*:neuro_layout_test
185RUNTEST
186
187################################## another executable... ##################################
188
189TESTNAME:neuro_test
190exe:neuro_test
191arg:X[N][Nu][G][Gpart][T][Tcontact][Tproximity][S][*][|][@][M][D][DoesNotExist][Fuzzy][VEye][VMotor][Sti][LMu][Water][Energy][Ch][ChMux][ChSel][Rnd][Sin][Delay][Light][Nn][PIDP][PIDV][SeeLight][SeeLight2][S0][S1][Thr]
192arg:30
193out:*INSERTPLATFORMDEPENDENTFILE*:neuro_test
194RUNTEST
195
196################################## another executable... ##################################
197
198TESTNAME:paramtree_paramlist_test
199exe:paramtree_paramlist_test
200out:*INSERTPLATFORMDEPENDENTFILE*:paramtree_paramlist_test
201RUNTEST
202
203################################## another executable... ##################################
204
205TESTNAME:paramtree_stdin_test
206exe:paramtree_stdin_test
207in:a
208in:a: b: d
209in:a: z
210in:a: b
211in:a: b: c
212in:a: y
213in:A
214out:*INSERTPLATFORMDEPENDENTFILE*:paramtree_stdin_test
215RUNTEST
216
217################################## another executable... ##################################
218
219TESTNAME:part_shapes
220exe:part_shapes
221out:*INSERTPLATFORMDEPENDENTFILE*:part_shapes
222RUNTEST
223
224################################## another executable... ##################################
225
226TESTNAME:saver_test_geno
227exe:saver_test_geno
228arg:_tmp_saver_test_output.gen
229arg:7
230out:*INSERTPLATFORMDEPENDENTFILE*:saver_test_geno
231RUNTEST
232# we could also verify the contents of the saved file, but for this we would need a way to print it (in frams we use a script function to do this)
233
234################################## another executable... ##################################
235
236exe:serial_test
237
238TESTNAME:serial_test
239out:*INSERTPLATFORMDEPENDENTFILE*:serial_test
240RUNTEST
241
242# TESTNAME:serial_test custom
243# out:*INSERTPLATFORMDEPENDENTFILE*:serial_test-custom
244# arg:{"2":[1]}
245# RUNTEST
246
247# Even though the command is launched correctly from python: ['../serial_test', '{"2":[1]}'] the executable in cygwin does not get its argument: 'input string = ' with default settings and input string = {\2\:[1]} with CYGWIN=noglob.
248# The problem is with characters like {} and "", and CYGWIN=noglob is supposed to fix this (it fixes the same problems with {}), but there are some bugs and it is not fixed.
249
250################################## another executable... ##################################
251
252TESTNAME:shapeconvert
253exe:shapeconvert
254out:*INSERTPLATFORMDEPENDENTFILE*:shapeconvert
255arg:FIX[@,p:0.6543,1:-1.23456](X[G],XX)
256RUNTEST
257
258################################## another executable... ##################################
259
260TESTNAME:resize_f0
261exe:resize_f0
262out:*INSERTPLATFORMDEPENDENTFILE*:resize_f0
263arg:0.33
264arg:-
265in://0s
266in:p:1.0, sh=2, sy=0.4000000059604645, sz=0.4000000059604645, rx=-1.5707963267948966, rz=3.141592653589793
267in:p:2.499997879272546, -0.8660266281835431, sh=2, sy=0.4000000059604645, sz=0.4000000059604645, rz=2.0943926535897934
268in:p:2.499997879272546, 0.8660266281835431, sh=2, sy=0.4000000059604645, sz=0.4000000059604645, rz=-2.0943926535897934
269in:j:0, 1, sh=1
270in:j:0, 2, sh=1
271in:n:d=*
272in:n:d=N
273in:c:1,0,1.234
274RUNTEST
275
276################################## another executable... ##################################
277
278exe:evol_test
279
280TESTNAME:evol_test f9
281arg:1
282arg:10
283arg:100
284arg:0.6
285arg:0.4
286arg:9
287arg:PJNCG
288out:*INSERTPLATFORMDEPENDENTFILE*:evol_test-f9
289RUNTEST
290
291TESTNAME:evol_test f4
292arg:1
293arg:10
294arg:100
295arg:0.6
296arg:0.4
297arg:4
298arg:PJNCG
299out:*INSERTPLATFORMDEPENDENTFILE*:evol_test-f4
300RUNTEST
301
302TESTNAME:evol_test fH
303arg:1
304arg:10
305arg:100
306arg:0.6
307arg:0.4
308arg:H
309arg:PJNCG
310out:*INSERTPLATFORMDEPENDENTFILE*:evol_test-fH
311RUNTEST
312
313TESTNAME:evol_test fB
314arg:1
315arg:10
316arg:100
317arg:0.6
318arg:0.4
319arg:B
320arg:PJNCG
321out:*INSERTPLATFORMDEPENDENTFILE*:evol_test-fB
322RUNTEST
323
324TESTNAME:evol_test fL
325arg:1
326arg:10
327arg:100
328arg:0.6
329arg:0.4
330arg:L
331arg:PJNCG
332out:*INSERTPLATFORMDEPENDENTFILE*:evol_test-fL
333RUNTEST
334
335TESTNAME:evol_test fS
336arg:1
337arg:10
338arg:100
339arg:0.6
340arg:0.4
341arg:S
342arg:PJNCG
343out:*INSERTPLATFORMDEPENDENTFILE*:evol_test-fS
344RUNTEST
Note: See TracBrowser for help on using the repository browser.