Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/VDM/VDMPP/SAFERPP/     Datei vom 13.4.2020 mit Größe 489 B image not shown  

Quelle  Thruster.vdmpp   Sprache: VDM

 

\section{Thruster Class}

\begin{vdm_al}
class Thruster

types
  public On_Off = <On> | <Off>;

instance variables
  state : On_Off := <Off>;

 
operations
  public
  SetOn : () ==> ()
  SetOn() ==
    state := <On>;

  public
  SetOff : () ==> ()
  SetOff() ==
    state := <Off>;

  public
  GetState : () ==> On_Off
  GetState() ==
    return state;

end Thruster
\end{vdm_al}

The test coverage table for the Thruster class looks like:

\begin{rtinfo}{vdm.tc}[Thruster]
\end{rtinfo}



Messung
CHZG
999710098

¤ Dauer der Verarbeitung: 0.0 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland