Idris2Doc : Test.DepTyCheck.Gen.Coverage

Test.DepTyCheck.Gen.Coverage

(source)
Definitions and functions for working with model coverage of a bunch of generated values.

Model coverage means a coverage in terms of the original data structure that is being generated,
e.g. involved types and their constructors.

Reexports

importpublic Language.Reflection.Compat.TypeInfo
importpublic Language.Reflection.Logging

Definitions

recordModelCoverage : Type
  Raw information of covered labels

Totality: total
Visibility: public export
Constructor: 
MkModelCoverage : SortedMapLabelNat->ModelCoverage

Projection: 
.unModelCoverage : ModelCoverage->SortedMapLabelNat

Hints:
MonadWriterModelCoveragem=>CanManageLabelsm
MonoidModelCoverage
SemigroupModelCoverage
.unModelCoverage : ModelCoverage->SortedMapLabelNat
Totality: total
Visibility: public export
unModelCoverage : ModelCoverage->SortedMapLabelNat
Totality: total
Visibility: public export
unGenD : MonadRandomm=>MonadError () m=>Genema->m (ModelCoverage, a)
Totality: total
Visibility: export
unGenD' : MonadRandomm=>Genema->m (Maybe (ModelCoverage, a))
Totality: total
Visibility: export
unGenTryAllD' : RandomGeng=>g->Genema->Stream (g, Maybe (ModelCoverage, a))
Totality: total
Visibility: export
unGenTryAllD : RandomGeng=>g->Genema->Stream (Maybe (ModelCoverage, a))
Totality: total
Visibility: export
unGenTryND : RandomGeng=>Nat->g->Genema->LazyList (ModelCoverage, a)
Totality: total
Visibility: export
recordCoverageGenInfo : (0_ : k) ->Type
  Higher-level coverage information, in terms of types and constructors, etc.

Totality: total
Visibility: export
Constructor: 
MkCoverageGenInfo : SortedMapStringTypeInfo->SortedMapString (TypeInfo, Con) ->SortedMapTypeInfo (Nat, SortedMapConNat) ->CoverageGenInfog

Projections:
.constructors : CoverageGenInfog->SortedMapString (TypeInfo, Con)
.coverageInfo : CoverageGenInfog->SortedMapTypeInfo (Nat, SortedMapConNat)
.types : CoverageGenInfog->SortedMapStringTypeInfo

Hint: 
Show (CoverageGenInfog)
initCoverageInfo' : (n : Name) ->Elab (CoverageGenInfon)
Totality: total
Visibility: export
initCoverageInfo'' : (ns : ListName) ->Elab (CoverageGenInfons)
Totality: total
Visibility: export
initCoverageInfo : (0x : g) ->Elab (CoverageGenInfox)
Totality: total
Visibility: export
withCoverage : Genema->Elab (Genema)
  Adds labelling of types and constructors to a given generator

Added labelling is not deep, i.e. it adds labels only for the returned type of a generator.
If returned type is a dependent pair, the rightmost type is taken into the account.

Totality: total
Visibility: export
registerCoverage : ModelCoverage->CoverageGenInfog->CoverageGenInfog
Totality: total
Visibility: export