Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/VDM/VDMPP/KLVPP/   (Wiener Entwicklungsmethode ©)  Datei vom 13.4.2020 mit Größe 709 B image not shown  

Quelle  NoBeaconMetEvent.vdmpp   Sprache: VDM

 
\section{The NoBeaconMetEvent Test Class}

The NoBeaconMetEvent class implements the event that an announced
TIV\_E was not met in the distance it was supposed to be located. It
provides an execute operation that returns the status of the Cab
Display and of the Emergency Break.

\begin{vdm_al}
class NoBeaconMetEvent is subclass of Event

operations 

  public
  execute : KLV ==> Test`TestResult
  execute (klv) ==
    ( klv.noBeaconMet();
      let mk_(a,e,g) = klv.getCabDisplay().getDisplay(),
          e' = klv.getEmergencyBreak().getEmergencyBreak() in
       return mk_Test`KLVstate(mk_Test`CabDisp(a,e,g), 
                               mk_Test`EmerBreak(e')) );

end NoBeaconMetEvent
\end{vdm_al}

100%


¤ Dauer der Verarbeitung: 0.1 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung ist noch experimentell.