Skip to content

Commit

Permalink
fixed invariants
Browse files Browse the repository at this point in the history
  • Loading branch information
glichtner committed Jan 4, 2024
1 parent dbe54dc commit ed24a04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions input/fsh/invariants.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ Severity: #error

Invariant: code-xor-repeat
Description: "Either a code or a repeat structure should be defined, but not both"
Expression: "code.exists() xor repeat.exists()"
Expression: "code.empty() or repeat.empty()"
Severity: #error

Invariant: bounds-or-count
Description: "Either a bounds or a count/countMax should be defined, but not both"
Expression: "bounds.exists() xor (count.exists() or countMax.exists())"
Expression: "bounds.empty() or (count.empty() and countMax.empty())"
Severity: #error

0 comments on commit ed24a04

Please sign in to comment.