Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/gfx/cairo/libpixman/src/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 3 kB image not shown  

Quellcode-Bibliothek TestCase.vdmrt   Sprache: VDM

 
\begin{vdm_al}
class TestCase
  is subclass of Test

instance variables
  protected name : seq of char

operations
 public TestCase: seq of char ==> TestCase
 TestCase(nm) == name := nm;

 public GetName: () ==> seq of char
 GetName () == return name;

 protected AssertTrue: bool ==> ()
 AssertTrue (pb) == if not pb then exit <FAILURE>;

 protected AssertFalse: bool ==> ()
 AssertFalse (pb) == if pb then exit <FAILURE>;

 public Run: TestResult ==> ()
 Run (ptr) == 
     trap <FAILURE>
       with 
         ptr.AddFailure(self)
       in
         (SetUp();
   RunTest();
   TearDown());

 protected SetUp: () ==> ()
 SetUp () == is subclass responsibility;

 protected RunTest: () ==> ()
 RunTest () == is subclass responsibility;

 protected TearDown: () ==> ()
 TearDown () == is subclass responsibility

end TestCase
\end{vdm_al}

Messung V0.5
C=96 H=100 G=97

¤ 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.0.8Bemerkung:  (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 und die Messung sind noch experimentell.