public void OrElse_on_Failure_returns_else() { var t = new Failure<string>(new Exception()); var alt = new Success<string>("bar"); Assert.AreSame(alt, t.OrElse(alt)); }
public void OrElse_on_Failure_returns_else() { var t = new Failure<string>(new Exception()); var alt = new Success<string>("bar"); Assert.AreSame(alt, t.OrElse(alt)); }