products/sources/formale sprachen/VDM/VDMPP/KLVPP image not shown  

Quellcode-Bibliothek

© Kompilation durch diese Firma

[Weder Korrektheit noch Funktionsfähigkeit der Software werden zugesichert.]

Datei: MaxSpeedEvent.vdmpp   Sprache: VDM

Original von: VDM©

\section{The MaxSpeedEvent Test Class}

The MaxSpeedEvent class implements a test event that does not perform
any action, but returns the status of the maximal allowed speed of the
train.

\begin{vdm_al}
class MaxSpeedEvent is subclass of Event

operations 

  public
  execute : KLV ==> Test`TestResult
  execute (klv) ==
    ( let ms = klv.getMaxSpeed() in
      return mk_Test`MaxSpeed(ms) );

end MaxSpeedEvent
\end{vdm_al}

¤ Dauer der Verarbeitung: 0.1 Sekunden  (vorverarbeitet)  ¤





Kontakt
Drucken
Kontakt
sprechenden Kalenders

in der Quellcodebibliothek suchen




schauen Sie vor die Tür

Fenster


Die Firma ist wie angegeben erreichbar.

Die farbliche Syntaxdarstellung ist noch experimentell.


Bot Zugriff