Added negation operator

This commit is contained in:
SuperGouge
2019-01-08 17:20:49 +01:00
parent c818267526
commit 194b1d9fb5
4 changed files with 36 additions and 8 deletions

View File

@@ -101,6 +101,19 @@ namespace SieveUnitTests
Assert.IsTrue(result.Count() == 0);
}
[TestMethod]
public void NotContainsWorks()
{
var model = new SieveModel()
{
Filters = "Title!@=D",
};
var result = _processor.Apply(model, _posts);
Assert.IsTrue(result.Count() == 3);
}
[TestMethod]
public void CanFilterBools()
{