mirror of
https://github.com/appinfosapienza/so-un-bot.git
synced 2025-05-06 16:39:38 +02:00
move legacy code to separate branch
This commit is contained in:
parent
68a30c8ee6
commit
11b4c48c3a
3528 changed files with 14477 additions and 53258 deletions
1
Data/ingsw/0120_14/correct.txt
Normal file
1
Data/ingsw/0120_14/correct.txt
Normal file
|
@ -0,0 +1 @@
|
|||
{x = -150, x = -40, x = 0, x = 200, x = 600}
|
6
Data/ingsw/0120_14/quest.txt
Normal file
6
Data/ingsw/0120_14/quest.txt
Normal file
|
@ -0,0 +1,6 @@
|
|||
Il partition coverage di un insieme di test cases è la percentuale di elementi della partition inclusi nei test cases. La partition è una partizione finita dell'insieme di input della funzione che si sta testando.
|
||||
Si consideri la seguente funzione C:
|
||||
int f1(int x) { return (x + 7); }
|
||||
Si vuole testare la funzione f1(). A tal fine l'insieme degli interi viene partizionato come segue:
|
||||
{(-inf, -101], [-100, -1], {0}, [1, 500], [501, +inf)}
|
||||
Quale dei seguenti test cases consegue una partition coverage del 100% ?
|
1
Data/ingsw/0120_14/wrong1.txt
Normal file
1
Data/ingsw/0120_14/wrong1.txt
Normal file
|
@ -0,0 +1 @@
|
|||
{x = -200, x = -150, x = 0, x = 100, x = 700}
|
1
Data/ingsw/0120_14/wrong2.txt
Normal file
1
Data/ingsw/0120_14/wrong2.txt
Normal file
|
@ -0,0 +1 @@
|
|||
{x = -200, x = -50, x = 0, x = 100, x = 500}
|
Loading…
Add table
Add a link
Reference in a new issue