-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
72 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
TEST-CASE DEFINITIONS ::= BEGIN | ||
|
||
MyChoiceEnum [size 32, encoding pos-int, endianness big, encode-values] | ||
|
||
MyTopMostSeq [] | ||
{ | ||
myDeterminant MyChoiceEnum [], | ||
myBool1 BOOLEAN [], | ||
myBool2 BOOLEAN [], | ||
myChoice1 <myDeterminant> [present-when myBool1], | ||
myChoice2 <myDeterminant> [present-when myBool2] | ||
} | ||
|
||
MyChoice <MyChoiceEnum: theDeterminant> [determinant theDeterminant] | ||
|
||
END | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
TEST-CASE DEFINITIONS AUTOMATIC TAGS::= BEGIN | ||
|
||
MyChoiceEnum ::= ENUMERATED | ||
{ | ||
choice1 (1), | ||
choice2 (2) | ||
} | ||
|
||
MyTopMostSeq ::= SEQUENCE | ||
{ | ||
myChoice1 MyChoice OPTIONAL, | ||
myChoice2 MyChoice OPTIONAL | ||
} | ||
|
||
MyChoice ::= CHOICE | ||
{ | ||
choice1 MyTuple, | ||
choice2 INTEGER | ||
} | ||
|
||
MyTuple ::= SEQUENCE | ||
{ | ||
fst INTEGER, | ||
snd INTEGER | ||
} | ||
|
||
myTest MyTopMostSeq ::= { | ||
|
||
myChoice1 choice1 : { fst 4, snd 2 } | ||
|
||
} | ||
|
||
END | ||
|
||
|
||
--TCFS 002.acn |