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

17 lines
No EOL
337 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(1, 23);
int j = rand(5, 42);
if( i >= j){
assert(i >= 5);
assert(j <= 23);
assert(i != 5); //@KO
assert(j != 23); //@KO
}
}