\section{The Validate Testing Class}
\begin{vdm_al}
class Validate is subclass of Event
instance variables
tillid : System`TillId;
code : Card`PinCode;
operations
public Init : System`TillId * Card`PinCode ==> Validate
Init(tid, pin) ==
(tillid := tid;
code := pin;
return self);
public execute : System ==> Test`TestResult
execute(sys) ==
sys.GetTill(tillid).Validate(code);
end Validate
\end{vdm_al}
¤ Dauer der Verarbeitung: 0.0 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland