\begin{vdm_al}
class AlphabetTest
is subclass of TestCase
values
str : seq of char = "ABCD"
operations
public AlphabetTest: seq of char ==> AlphabetTest
AlphabetTest(nm) == name := nm;
protected SetUp: () ==> ()
SetUp () == skip;
protected RunTest: () ==> ()
RunTest () ==
( dcl tc : Alphabet := new Alphabet(str);
for all i in set inds str do
( AssertTrue(tc.GetChar(i) = str(i));
AssertTrue(tc.GetIndex(str(i)) = i);
AssertTrue(tc.Shift(1,i) = tc.Shift(i)) );
AssertTrue(tc.GetSize() = 4);
AssertTrue(tc.GetIndices() = {1,...,4}) );
protected TearDown: () ==> ()
TearDown () == skip;
end AlphabetTest
\end{vdm_al}
¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.10Angebot
Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können
¤
|
Lebenszyklus
Die hierunter aufgelisteten Ziele sind für diese Firma wichtig
Ziele
Entwicklung einer Software für die statische Quellcodeanalyse
|