src/Kingdom.OrTools.Sat.Parameters.Tests/ParameterTestFixtureBase.cs
/// <summary>
/// Verifies the <paramref name="parameter"/> in the <paramref name="expectedValue"/>,
/// <paramref name="valueType"/> and that it <paramref name="rendered"/> correctly.
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="parameter"></param>
/// <param name="expectedValue"></param>
/// <param name="valueType"></param>
/// <param name="rendered"></param>
Verifies the  in the ,
and that it  correctly.
Verifies the in the and that it correctly .
private static void VerifyParameter<T>(IParameter<T> parameter, T expectedValue, Type valueType, string rendered)
            => parameter.AssertNotNull()
                .AssertEqual(valueType.AssertNotNull(), x => x.ValueType)
                .AssertEqual(expectedValue, x => x.Value)
                .ToString().AssertEqual(rendered);
private static void VerifyParameter < T > ( IParameter < T > parameter , T expectedValue , Type valueType , string rendered ) => parameter . AssertNotNull ( ) . AssertEqual ( valueType . AssertNotNull ( ) , x => x . ValueType ) . AssertEqual ( expectedValue , x => x . Value ) . ToString ( ) . AssertEqual ( rendered ) ;
Verifies the  in the ,
and that it  correctly.
Verifies the in the and that it correctly .
parameter
IParameter<T>
None
expectedValue
T
None
valueType
Type
None
rendered
string
None
typeparam
None