Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/VDM/VDMPP/SSlibE2PP/   (Vienna Development Method ©)  Datei vom 13.4.2020 mit Größe 1 kB image not shown  

Quelle  UniqueNumberT.vdmpp

  Sprache: VDM
 

class UniqueNumberT is subclass of TestDriver
functions
public tests : () -> seq of TestCase
tests () == 
 [new UniqueNumberT01()
 ];
end UniqueNumberT

class UniqueNumberT01 is subclass of TestCase
operations 
protected test: () ==> bool
test() == 
 let o = new UniqueNumber() in
 return
  (
  o.getUniqNumStr(1) = "1" and
  o.getUniqNumStr(1) = "2" and
  o.getUniqNumStr(1) = "3" and
  o.getUniqNumStr(1) = "4" and
  o.getUniqNumStr(1) = "5" and
  o.getUniqNumStr(1) = "6" and
  o.getUniqNumStr(1) = "7" and
  o.getUniqNumStr(1) = "8" and
  o.getUniqNumStr(1) = "9" and
  o.getUniqNumStr(1) = "1" and 
  o.getUniqNumStr(1) = "2" and
  o.getUniqNumStr(2) = "3" and
  o.getUniqNumStr(2) = "4" and
  o.getUniqNumStr(2) = "5" and
  o.getUniqNumStr(2) = "6" and
  o.getUniqNumStr(2) = "7" and
  o.getUniqNumStr(2) = "8" and
  o.getUniqNumStr(2) = "9" and
  o.getUniqNumStr(2) = "10" and 
  o.getUniqNumStr(2) = "11"
  )
;
protected setUp: () ==> ()
setUp() == TestName := " UniqueNumberT01:\t UniqueNumberT01 Unit test";
protected tearDown: () ==> ()
tearDown() == return;
end UniqueNumberT01

Messung V0.5 in Prozent
C=100 H=100 G=100

¤ Dauer der Verarbeitung: 0.9 Sekunden  (vorverarbeitet am  2026-06-08) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

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.