Exemplo n.º 1
0
 public void WhenMatchSheetIsNotNullAndDoesNotMatch_IsMatch_ReturnsFalse()
 {
     Assert.False(_lineClassWithSheets.IsMatch(new SimpleRow("Hello", "World")
     {
         Sheet = "Sheet1"
     }, null));
 }
Exemplo n.º 2
0
 public void WhenAllExpressionsMatchAndSectionMatches_IsMatch_ReturnsTrue()
 {
     Assert.True(_lineClassWithSection.IsMatch(new SimpleRow("Hello", "World"), "Foo"));
 }
Exemplo n.º 3
0
 public void WhenAllExpressionsMatch_IsMatch_ReturnsTrue()
 {
     Assert.True(_lineClassWithoutSection.IsMatch(new SimpleRow("Hello", "World"), null));
 }