Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Isabelle/Archive-of-Formal-Proofs/thys/SpecCheck/   (Archive of formal Proofs Version 2026-5©)  Datei vom 31.4.2026 mit Größe 821 B image not shown  

Quelle  lecker.ML

  Sprache: SML
 

(*  Title:      SpecCheck/lecker.ML
    Author:     Kevin Kappelmann

Testing framework that lets you combine SpecCheck tests into test suites.

TODO: this file can be largely extended to become a pendant of Haskell's tasty:
https://hackage.haskell.org/package/tasty
*)


signature LECKER =
sig
  type ('f, 's) test_state = 'f -> 's -> 's
  type 'f test = ('f, SpecCheck_Random.rand) test_state
  (*the first parameter to test_group will usually be a context*)
  val test_group : 'f -> 's -> (('f, 's) test_state) list -> 's
end

structure Lecker : LECKER =
struct

type ('f, 's) test_state = 'f -> 's -> 's
type 'f test = ('f, SpecCheck_Random.rand) test_state

fun test_group _ s [] = s
  | test_group fixed_param s (t::ts) =
      fold (fn t => (Pretty.writeln (Pretty.brk 0); t fixed_param)) ts (t fixed_param s)

end

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

¤ Dauer der Verarbeitung: 0.13 Sekunden  (vorverarbeitet am  2026-07-02) ¤

*© 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.