AStat/examples/interval/interval_cmp_simple.c
2024-05-29 11:47:47 +02:00

14 lines
No EOL
290 B
C

/*
* Cours "Sémantique et Application à la Vérification de programmes"
*
* Josselin Giet 2021
* Ecole normale supérieure, Paris, France / CNRS / INRIA
*/
void main(){
int i = rand(-2, 42);
assert(i <= 42);
assert(i >= -2);
assert(i != 42); //@KO
assert(i != -2); //@KO
}