Class ProbeCase
- Namespace
- IntentSharp.Specialist
- Assembly
- IntentSharp.Specialist.dll
One input to try an offered specialist on, with the output expected for it when there is one.
public sealed class ProbeCase
- Inheritance
-
objectProbeCase
- Inherited Members
-
object.Equals(object)object.Equals(object, object)object.GetHashCode()object.GetType()object.ReferenceEquals(object, object)object.ToString()
- Extension Methods
Constructors
- ProbeCase()
Creates an empty case; set Input.
Properties
- Comparer
Compares the expected output (first) with the actual one (second) and returns true when they agree. Null compares them as JSON, with the order of keys and the spelling of numbers ignored.
- Expected
The output expected, as JSON. Null passes any result that passes its own checks (the shape, the rules and the validators of the offered definition).
- Input
The input value the offered definition runs on.
- Name
A short name for the case, used in the reasons of a finding. Null names the case by its position.