# verdicttype

The keyword verdicttype denotes a simple basic type whose distinguished values are one of the following: pass, fail, inconc, none, error. It is used to store local and global test verdicts.

- The permitted values can be restricted by listing them.
- The result of an executed test case is always a value of type verdicttype.

Related keywords:

- error
- fail
- getverdict
- inconc
- none
- pass
- setverdict

### verdicttype

Example 1:

var verdicttype v_urteil := none;

The variable defined is of type verdicttype and called v_urteil. It gets the initial value none.

Example 2:

var verdicttype v_rozsoudek (pass, fail);

The variable called v_rozsoudek may hold the values pass and fail only.

BNF definition of verdicttype