modelEnumMixedArrayIndexing
Extends from Icons.TestCase.
Information
Tests that it's possible to use enumeration literals to index an array declared with an enumeration type as dimension.Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real[E,2] | arr | {{1.0, 2.0}, {3.0, 4.0}, {5.0, 6.0}} | |
| Real | x | arr[E.one, 1] | |
| Real | y | arr[E.two, 1] | |
| Real | z | arr[E.three, 1] | |
| Real | u | arr[E.one, 2] | |
| Real | v | arr[E.two, 2] | |
| Real | w | arr[E.three, 2] |
Contents
| Name | Description |
|---|---|
| E |