mirror of
https://github.com/appinfosapienza/so-un-bot.git
synced 2025-05-06 16:19:38 +02:00
Adapt to new bot structure
This commit is contained in:
parent
ff7e08ada9
commit
3f84e1d831
3414 changed files with 41525 additions and 709 deletions
1
legacy/Data/Questions/ingsw/0722_12/correct.txt
Normal file
1
legacy/Data/Questions/ingsw/0722_12/correct.txt
Normal file
|
@ -0,0 +1 @@
|
|||
{x = -200, x = -50, x = 0, x = 100, x = 700}
|
11
legacy/Data/Questions/ingsw/0722_12/quest.txt
Normal file
11
legacy/Data/Questions/ingsw/0722_12/quest.txt
Normal file
|
@ -0,0 +1,11 @@
|
|||
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
legacy/Data/Questions/ingsw/0722_12/wrong 1.txt
Normal file
1
legacy/Data/Questions/ingsw/0722_12/wrong 1.txt
Normal file
|
@ -0,0 +1 @@
|
|||
{x = -200, x = -150, x = 0, x = 100, x = 700}
|
1
legacy/Data/Questions/ingsw/0722_12/wrong 2.txt
Normal file
1
legacy/Data/Questions/ingsw/0722_12/wrong 2.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