Home



Ga Terug




Vergelijk output

Creëer data


Gebruik uitvoer



Voorbeelden


Elementary Comparison Test - example 1

Elementary Comparison Test

 

Condition(s)

if K or (L and M)

then

  put "TRUE" into prediction

else

  put "FALSE" into prediction

end if

 

 



Equations

A: K

B: L

C: M

 

Test situations

 

FALSE

TRUE

A

001

101

B

001

011

C

010

011

 

 

Test Cases

 Test Case

1

2

3

     test situation

001

010

101

     prediction

FALSE

FALSE

TRUE

     determines outcome

AB

AC

A

 

A: K

not(K)

not(K)

K

B: L

not(L)

L

not(L)

C: M

M

not(M)

M

 

 

 Test Case

4

 

 

     test situation

011

 

 

     prediction

TRUE

 

 

     determines outcome

BC

 

 

 

A: K

not(K)

 

 

B: L

L

 

 

C: M

M