Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  InsertCard.vdmpp   Sprache: VDM

 

\section{The InsertCard Testing Class}

The event InsertCard corresponds to a client inserting a credit card at one of the tills in this system.

\begin{vdm_al}
class InsertCard is subclass of Event

instance variables

  tillid : System`TillId;
  mycard : Card;

operations

  public Init : System`TillId * Card ==> InsertCard
  Init(tid, c) ==
    (tillid := tid;
     mycard := c;
     return self);

  public execute : System ==> Test`TestResult
  execute(sys) ==
    (sys.GetTill(tillid).InsertCard(mycard);
     return true);

end InsertCard
\end{vdm_al}

Messung
CHZG
919610095

¤ Dauer der Verarbeitung: 0.5 Sekunden  ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,271
#Domains=934,730