mirror of
https://github.com/appinfosapienza/so-un-bot.git
synced 2025-05-06 20:19:38 +02:00
ingsw: Add 09-22
This commit is contained in:
parent
fb2aa7120e
commit
1b1633659c
64 changed files with 1312 additions and 0 deletions
1
Ingegneria del Software/0922_12/correct.txt
Normal file
1
Ingegneria del Software/0922_12/correct.txt
Normal file
|
@ -0,0 +1 @@
|
|||
90%
|
17
Ingegneria del Software/0922_12/quest.txt
Normal file
17
Ingegneria del Software/0922_12/quest.txt
Normal file
|
@ -0,0 +1,17 @@
|
|||
img=https://i.imgur.com/rWKWcCt.png
|
||||
La transition coverage di un insieme di test cases (cioè sequenze di inputs) per uno state diagram è la percentuale di transizioni (archi nel grafo dello state diagram) percorsi almeno una volta.
|
||||
|
||||
Si consideri lo state diagram in figura
|
||||
|
||||
|
||||
ed il seguente insieme di test cases:
|
||||
|
||||
Test case 1: act2 act0 act2 act2 act0 act1 act1 act0 act0 act2 act0 act2 act2 act2 act1 act2 act2 act0 act0 act2 act1 act0 act0 act2 act2 act2 act0 act2 act2 act0 act2 act0 act1 act2 act1 act1 act1 act1 act0 act1 act0 act1 act2 act1 act2 act0
|
||||
|
||||
Test case 2: act0
|
||||
|
||||
Test case 3: act2 act0 act2 act2 act0 act2 act0 act2 act2 act2 act0 act0 act1 act2 act0 act2 act2 act0 act2 act2 act0 act2 act0 act2 act2 act2 act0 act1 act1 act1 act0 act0 act1 act1 act2 act0 act0 act2 act1 act0 act2 act2 act0 act2 act2 act0 act0 act2 act0 act1 act0
|
||||
|
||||
|
||||
|
||||
Quale delle seguenti è la migliore stima della transition coverage per i test cases di cui sopra?
|
1
Ingegneria del Software/0922_12/wrong 1.txt
Normal file
1
Ingegneria del Software/0922_12/wrong 1.txt
Normal file
|
@ -0,0 +1 @@
|
|||
100%
|
1
Ingegneria del Software/0922_12/wrong 2.txt
Normal file
1
Ingegneria del Software/0922_12/wrong 2.txt
Normal file
|
@ -0,0 +1 @@
|
|||
50%
|
Loading…
Add table
Add a link
Reference in a new issue