public void AppliesTo_TermDoesNotOccurInRange_ReturnsFalse()
        {
            IKeyTerm     term  = KeyTermMatchBuilderTests.AddMockedKeyTerm("tom", 002003001, 002003003);
            KeyTermMatch match = new KeyTermMatch(new List <Word>(new Word[] { "tom" }), term, true);

            Assert.IsFalse(match.AppliesTo(002003002, 002003002));
        }
        public void AppliesTo_TermAllowedToMatchAnywhere_ReturnsTrue()
        {
            IKeyTerm     term  = KeyTermMatchBuilderTests.AddMockedKeyTerm("tom");
            KeyTermMatch match = new KeyTermMatch(new List <Word>(new Word[] { "tom" }), term, false);

            Assert.IsTrue(match.AppliesTo(-1, -1));
        }