mirror of
https://github.com/appinfosapienza/so-un-bot.git
synced 2025-05-07 08:39:37 +02:00
04/11/2022 is added
This commit is contained in:
parent
5c00a2f16a
commit
01c9360b01
207 changed files with 2082 additions and 245 deletions
1
Ingegneria del Software/1122_44/correct.txt
Normal file
1
Ingegneria del Software/1122_44/correct.txt
Normal file
|
@ -0,0 +1 @@
|
|||
60%
|
15
Ingegneria del Software/1122_44/quest.txt
Normal file
15
Ingegneria del Software/1122_44/quest.txt
Normal file
|
@ -0,0 +1,15 @@
|
|||
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 (2*x); }
|
||||
|
||||
Si vuole testare la funzione f1(). A tal fine l'insieme degli interi viene partizionato come segue:
|
||||
|
||||
{(-inf, -11], [-10, -1], {0}, [1, 50], [51, +inf)}
|
||||
|
||||
Si consideri il seguente insieme di test cases:
|
||||
|
||||
{x=-20, x= 10, x=60}
|
||||
|
||||
Quale delle seguenti è la partition coverage conseguita?
|
1
Ingegneria del Software/1122_44/wrong 1.txt
Normal file
1
Ingegneria del Software/1122_44/wrong 1.txt
Normal file
|
@ -0,0 +1 @@
|
|||
80%
|
1
Ingegneria del Software/1122_44/wrong 2.txt
Normal file
1
Ingegneria del Software/1122_44/wrong 2.txt
Normal file
|
@ -0,0 +1 @@
|
|||
100%
|
Loading…
Add table
Add a link
Reference in a new issue