Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
positive and negative tests for --check-afm
- Loading branch information
Showing
3 changed files
with
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
//# OPTIONS --check-afm | ||
// http://gsd.uwaterloo.ca:8888/question/867/add-attributed-feature-models-check | ||
// This model should fail the afm test for lines 9, 10, 11, and 12 | ||
|
||
a 0..0 | ||
b ? | ||
c | ||
d 1..1 | ||
e 0..* | ||
f + | ||
g 1..* | ||
h 2..5 |
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 |
---|---|---|
@@ -1,8 +1,9 @@ | ||
//# OPTIONS --check-afm | ||
// http://gsd.uwaterloo.ca:8888/question/867/add-attributed-feature-models-check | ||
// This model should fail the attributed feature model check for lines 5,6, and 7 | ||
// This model should pass the attributed feature model check | ||
a | ||
b ? | ||
c 2..* | ||
d + | ||
e * | ||
f 0 | ||
c 0..1 | ||
d 1..1 | ||
e 0..0 | ||
f 1 |
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