Consider case like this one:
class SomeAction {
}
scheduler.ExpectObservable(testedObserver).ToBe("a", new {a = new SomeAction()});
this assertion will fail, but it is very convenient to compare object with deep compare logic.
It would be nice if you can introduce an optional parameter that could be of type Func<object, object, bool>, so that I can implement my compare logic.
class SomeAction {
}
scheduler.ExpectObservable(testedObserver).ToBe("a", new {a = new SomeAction()}, (actual, expected) => Comparer.AreEqual(actual, expected));
Consider case like this one:
this assertion will fail, but it is very convenient to compare object with deep compare logic.
It would be nice if you can introduce an optional parameter that could be of type Func<object, object, bool>, so that I can implement my compare logic.