subject(from:)
Produces the subject of evaluation from a given sample.
Declaration
nonisolated(nonsending) func subject(from sample: Self.Sample) async throws -> Self.SubjectParameters
- sample:
The input sample.
Mentioned in
Return Value
The subject of evaluation.
Discussion
Implement this method to run your system under test and return the subject that evaluators will measure.