mirror of
https://github.com/appinfosapienza/so-un-bot.git
synced 2025-05-06 17:39: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/ingsw/1122_49/correct.txt
Normal file
1
legacy/Data/ingsw/1122_49/correct.txt
Normal file
|
@ -0,0 +1 @@
|
|||
Transition coverage: 75%
|
12
legacy/Data/ingsw/1122_49/quest.txt
Normal file
12
legacy/Data/ingsw/1122_49/quest.txt
Normal file
|
@ -0,0 +1,12 @@
|
|||
img=https://i.imgur.com/rZnqUL9.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: act1 act0 act2 act0 act0 act0 act2 act1 act1 act0 act2 act0 act2 act2 act1 act1 act0 act2 act2 act2 act1 act1 act2 act0 act1 act0 act1 act2
|
||||
|
||||
Test case 2: act1 act0 act0 act0 act2 act2 act2 act2 act2 act1 act1 act0 act0 act0 act2 act2 act2 act0 act1 act1 act1 act0 act2 act0 act0 act0 act1 act1 act2 act0 act1 act0 act0 act0 act2 act0 act1 act2 act2 act2 act0 act1 act2 act0 act1 act0 act1 act2
|
||||
|
||||
Test case 3: act1 act0 act0 act1 act1 act1 act1 act2 act2 act0 act1 act2
|
||||
|
||||
Quale delle seguenti è la migliore stima della transition coverage per i test cases di cui sopra?
|
1
legacy/Data/ingsw/1122_49/wrong 1.txt
Normal file
1
legacy/Data/ingsw/1122_49/wrong 1.txt
Normal file
|
@ -0,0 +1 @@
|
|||
Transition coverage: 100%
|
1
legacy/Data/ingsw/1122_49/wrong 2.txt
Normal file
1
legacy/Data/ingsw/1122_49/wrong 2.txt
Normal file
|
@ -0,0 +1 @@
|
|||
Transition coverage: 50%
|
Loading…
Add table
Add a link
Reference in a new issue