public void Match_Strictest_Found_RetursTrue() { ScheduleMatcher sut = new ScheduleMatcher(); Assert.True(sut.Match(_criteria, "C23456", "O", "STKGIEP", "BRSTLTM")); }
public void Match_Strictest_NotFound_RetursFalse() { ScheduleMatcher sut = new ScheduleMatcher(); Assert.False(sut.Match(_criteria, "C23456", "O", "NPLEIEP", "BRSTLTM")); }
public void Match_Stricter_NotFound_RetursFalse() { ScheduleMatcher sut = new ScheduleMatcher(); Assert.False(sut.Match(_criteria, "C23456", "P")); }
public void Match_Stricter_Found_RetursTrue() { ScheduleMatcher sut = new ScheduleMatcher(); Assert.True(sut.Match(_criteria, "C23456", "O")); }
public void Match_Loose_NullList_RetursTrue() { ScheduleMatcher sut = new ScheduleMatcher(); Assert.True(sut.Match(null, "C23456")); }
public void Match_Loose_EmptyList_RetursTrue() { ScheduleMatcher sut = new ScheduleMatcher(); Assert.True(sut.Match(new List <ScheduleCriteria>(), "C23456")); }
public void Match_Loose_NotFound_RetursFalse() { ScheduleMatcher sut = new ScheduleMatcher(); Assert.False(sut.Match(_criteria, "foo")); }