omega-mv
Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.
Brought by drakestapleton
omega-mv / seed / omc / tests / struct-bool / mutants.tsv
| 1 | # mutants of the uchar twins, run by check.sh. Fields are separated by one TAB: |
| 2 | # case sed-expression |
| 3 | # The expression is applied to the twin of the case (bool -> uchar, true -> 1, false -> 0), must change |
| 4 | # the text, and must change the exit status to a different value below 100. If it does not, the case |
| 5 | # checks nothing about that line. These run on the uchar twin, so they work with the current compiler. |
| 6 | init_true s/^w = new W 5 1$/w = new W 5 0/ |
| 7 | put_flip s/^put w f 1$/put w f 0/ |
| 8 | neighbours s/^put n g 1$/put n g 0/ |
| 9 | adjacent s/^put b y 1$/put b y 0/ |
| 10 | param_edit s/^setf w 1$/setf w 0/ |
| 11 | loop_toggle s/^put w f 1$/put w f 0/ |
| 12 | array_fields s/^put a h 3 4$/put a h 3 6/ |
| 13 | only_field s/^w = new F 1$/w = new F 0/ |