Refactor repo structure

This commit is contained in:
Marco Realacci 2024-01-19 03:29:39 +01:00
parent 36ac339086
commit 8fc89fbc03
1732 changed files with 3812 additions and 67 deletions

View file

@ -0,0 +1 @@
Test set: {x=3, y=6}, {x=0, y=0}, {x=15, y=0}, {x=9, y=0}.

View file

@ -0,0 +1,8 @@
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:
-----------
int f(int x, int y) {
if (x - y <= 6) { if (x + y >= 3) return (1); else return (2); }
else {if (x + 2*y >= 15) return (3); else return (4); }
} /* f() */
Quale dei seguenti test sets consegue una branch coverage del 100% ?

View file

@ -0,0 +1 @@
Test set: {x=3, y=6}, {x=0, y=0}, {x=15, y=0}, {x=10, y=3}.

View file

@ -0,0 +1 @@
Test set: {x=3, y=6}, {x=2, y=1}, {x=15, y=0}, {x=9, y=0}.