Äquivalenz-Klassen II

 [Vorheriges Kapitel]  [Vorherige Seite]  [Inhaltsverzeichnis]  [Nächste Seite]  [Nächstes Kapitel]


KlasseBeschreibungErwartete Ausgabe

1a, b, c W AND > 0 AND tr AND

(abc) AND <= maxint

scalene


2a, b, c W AND > 0 AND tr AND

(a = b = c) AND <= maxint

equilateral


3a, b, c W AND > 0 AND tr AND

NOT (abc) AND

NOT (a = b = c) AND

<= maxint

isosceles


4a, b, c W AND > 0 AND

NOT tr AND <= maxint

no triangle


5a, b, c W AND > 0 AND tr AND

NOT <= maxint

invalid input


6a, b, c W AND NOT > 0

non-positive length(s)


7a, b, c NOT W AND > 0 AND tr

invalid input


8a, b, c NOT NUMBER

invalid input


*In diesem Beispiel hängt die erwartete Ausgabe nur von der Äquivalenzklasse ab. Dies ist natürlich nicht zutreffend im allgemeinen Falle, bei dem für jeden Testfall einzeln die zu erwartende Ausgabe anzugeben ist.
 

 [Vorheriges Kapitel]  [Vorherige Seite]  [Inhaltsverzeichnis]  [Nächste Seite]  [Nächstes Kapitel]
Copyright © 2004, 2005 Andreas Borchert, in HTML konvertiert am 18.02.2005