DefaultFeatureExtractor

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun <SubjectT, FeatureT> extract(container: AssertionContainer<SubjectT>, description: Translatable, representationForFailure: Any, featureExtraction: (SubjectT) -> Option<FeatureT>, maybeSubAssertions: Option<Expect<FeatureT>.() -> Unit>, featureExpectOptions: FeatureExpectOptions<FeatureT>): FeatureExpect<SubjectT, FeatureT>

Extracts a feature according to the given featureExtraction, creates an Expect for the new subject and applies maybeSubAssertions in case they are specified.