!**< def
!define ints123 (|1|
|2|
|3|
)
!define ints12c (|1|
|2|
|c|
)
!define testInts (!|fitlibrary.specify.arrayParser.Parse|
|''given ints''|${ints123}|
|1|
|2|
|3|
|''given ints''||
|''given ints''|${ints12c}|
|1|
|2|
|0|
)
!define inner1 (|1|
|2|
)
!define inner2 (|3|
|4|
)
!define outer (|${inner1}|
|${inner2}|
)
!define testIntsNested (!|fitlibrary.specify.arrayParser.Parse|
|''given ints2D''|${outer}|
|${inner1}|
|${inner2}|
)
!define strings (|1,2|
|3|
)
!define testString (!|fitlibrary.specify.arrayParser.Parse|
|''given strings''|${strings}|
|1,2|
|3|
)
**!
* Primitive values are simple. An array of a suitable size is created. However, if one of the inputs is invalid, the corresponding element will be the default value for the type.
|!-fitlibrary.spec.SpecifyFixture-!|
|${testInts}|!-
fitlibrary.specify.arrayParser.Parse |
-!|
* Nested arrays can be used
|!-fitlibrary.spec.SpecifyFixture-!|
|${testIntsNested}|!-
fitlibrary.specify.arrayParser.Parse |
-!|
* Strings can now contain ","
|!-fitlibrary.spec.SpecifyFixture-!|
|${testString}|!-
fitlibrary.specify.arrayParser.Parse |
-!|