Commit 5b5a5970 authored by stancakapost's avatar stancakapost
Browse files

added verdict reasons

parent b7779022
......@@ -21,10 +21,12 @@ module Sem_160102_predefined_functions_091 {
var float v_random1 := rnd(seed);
var float v_random2 := rnd();
if(match(v_random2, rnd(v_random1)) and not match(seed, v_random1) ) {
setverdict(pass);
} else {
setverdict(fail,v_random1);
setverdict(pass);
if (not match(rnd(seed), v_random1)) {
setverdict(fail, "rnd from same seed has to be identical to ", v_random1);
}
if (match(rnd(seed+1.0), v_random1)) {
setverdict(fail, "rnd from different seed should not be identical with ", v_random1);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment