public void AllRowsAtLeastOneSuccessShouldFailIfARowDoesNotContainASuccess() { var sut = new MarbleEventAssertionResultTable(); sut.AddResultsRow(new List <MarbleEventAssertionResultTable.Result> { AFailure }); sut.AllRowsAtLeastOneSuccess().Should().BeFalse(); }
public void AllRowsAtLeastOneSuccessShouldBeTrueIfAllRowsContainASuccess() { _table.AddResultsRow(new List <MarbleEventAssertionResultTable.Result> { ASuccess }); _table.AddResultsRow(new List <MarbleEventAssertionResultTable.Result> { AFailure, ASuccess }); _table.AllRowsAtLeastOneSuccess().Should().BeTrue(); }