Classification
org.scalatest.prop.Classification
The results of a call to CommonGenerators.classify.
The classify
function takes a PartialFunction and a Generator, and organizes the values created by the Generator based on the PartialFunction. It returns this data structure, which describes how many of the values went into each bucket.
If the PartialFunction did not cover all the possible generated values, then the totals field will not include the others, and the numbers in totals will add up to less than totalGenerated.
Value parameters
- totalGenerated
-
How many values were actually created by the Generator overall.
- totals
-
For each of the buckets defined in the PartialFunction, how many values belonged in each one.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article