public void Failure_Ok() { var failure = new Failure <int, string>("Failure"); var failureResult = failure.BindToResult(this.testFunc); Assert.That(failureResult.UnwrapError(), Is.EqualTo("Failure")); }
public void Failure_Ok() { var failure = new Failure <int, string>("Failure"); var failureResult = failure.BindToResult(this.testFunc); Assert.That(failureResult.UnwrapError(), Is.EqualTo("Failure")); }