/// <summary> /// Initializes a new instance of the <see cref="NumberFluentAssertion{N}" /> class. /// </summary> /// <param name="fluentAssertion">The fluent assertion.</param> public NumberFluentAssertion(IFluentAssertion <N> fluentAssertion) { this.fluentAssertion = fluentAssertion; this.fluentAssertionRunner = new FluentAssertionRunner <N>(this); }
/// <summary> /// Initializes a new instance of the <see cref="FluentAssertion{T}" /> class. /// </summary> /// <param name="value">The value.</param> /// <param name="negated">A boolean value indicating whether the assertion should be negated or not.</param> private FluentAssertion(T value, bool negated) { this.Value = value; this.Negated = negated; this.fluentAssertionRunner = new FluentAssertionRunner <T>(this); }