Adapt to new bot structure

This commit is contained in:
Marco Realacci 2024-04-04 23:24:06 +02:00
parent ff7e08ada9
commit 3f84e1d831
3414 changed files with 41525 additions and 709 deletions

View file

@ -0,0 +1 @@
100%

View file

@ -0,0 +1,17 @@
Il branch coverage di un insieme di test cases è la percentuale di branch del programma che sono attraversati da almeno un test case.
Si consideri la seguente funzione C:
-----------
<pre>
int f(int x, int y) {
if (x - y <= 0) { if (x + y - 2>= 0) return (1); else return (2); }
else {if (2*x + y - 1>= 0) return (3); else return (4); }
} /* f() */
</pre>
Si considerino i seguenti test cases: {x=1, y=1}, {x=0, y=0}, {x=1, y=0}, {x=0, y=-1}.
Quale delle seguenti è la branch coverage conseguita?

View file

@ -0,0 +1 @@
80%

View file

@ -0,0 +1 @@
50%