|
Last change
on this file since 805 was
798,
checked in by sz, 7 years ago
|
|
unit testing infrastructure + few example tests for the Framsticks SDK
|
-
Property svn:eol-style set to
native
|
|
File size:
792 bytes
|
| Line | |
|---|
| 1 | exe:geno_test |
|---|
| 2 | |
|---|
| 3 | TESTNAME:geno_test valid f1 |
|---|
| 4 | arg:XrqX[G:1.23][-1:2.34] |
|---|
| 5 | out:valid |
|---|
| 6 | out: |
|---|
| 7 | RUNTEST |
|---|
| 8 | |
|---|
| 9 | TESTNAME:geno_test invalid f1 |
|---|
| 10 | arg:rq[0:0] |
|---|
| 11 | out:[WARN] Geno.isValid: 1 warning(s) while checking validity of '' |
|---|
| 12 | out:[WARN] Geno.isValid: ...[WARN] GenoConv_F1.grow: Illegal neuron position (ignored) |
|---|
| 13 | out:invalid |
|---|
| 14 | out: |
|---|
| 15 | RUNTEST |
|---|
| 16 | |
|---|
| 17 | TESTNAME:geno_test valid f0 |
|---|
| 18 | arg:- |
|---|
| 19 | in://0 |
|---|
| 20 | in:p: |
|---|
| 21 | in:p:1 |
|---|
| 22 | in:j:0,1 |
|---|
| 23 | out:valid |
|---|
| 24 | out: |
|---|
| 25 | RUNTEST |
|---|
| 26 | |
|---|
| 27 | TESTNAME:geno_test invalid f0 |
|---|
| 28 | arg:- |
|---|
| 29 | in://0 |
|---|
| 30 | in:p: |
|---|
| 31 | in:p: |
|---|
| 32 | out:[ERROR] Geno.isValid: 1 error(s) while checking validity of '' |
|---|
| 33 | out:[ERROR] Geno.isValid: ...[ERROR] Model.internalCheck: Not all parts connected (eg. Part #0 and Part #1) |
|---|
| 34 | out:invalid |
|---|
| 35 | out: |
|---|
| 36 | RUNTEST |
|---|
| 37 | |
|---|
| 38 | ################################## |
|---|
| 39 | |
|---|
| 40 | exe:full_props |
|---|
| 41 | |
|---|
| 42 | TESTNAME:full_props |
|---|
| 43 | arg:X |
|---|
| 44 | out:*INSERTPLATFORMDEPENDENTFILE*:full_props_x |
|---|
| 45 | RUNTEST |
|---|
Note: See
TracBrowser
for help on using the repository browser.