public void TestProximityQueryNoMatchKey()
        {
            CSCI6030_ProgAssign2.ProximityQuery query = new CSCI6030_ProgAssign2.ProximityQuery();
            List <string> result = query.Intersect("this", "NotAWord", 2);

            Assert.IsTrue(result.Count == 0, "To many documents");
        }
        public void TestProximityQueryNoMatchSeperation()
        {
            CSCI6030_ProgAssign2.ProximityQuery query = new CSCI6030_ProgAssign2.ProximityQuery();
            List <string> result = query.Intersect("document", "additional", 2);

            Assert.IsTrue(result.Count == 0, "To many documents");
        }
        public void TestProximityQuery1Match()
        {
            CSCI6030_ProgAssign2.ProximityQuery query = new CSCI6030_ProgAssign2.ProximityQuery();
            List <string> result = query.Intersect("this", "test", 4);

            Assert.IsTrue(result.Count == 1, "not corrent number of documents");
            Assert.IsTrue(result[0].Contains("Doc1"), "Wrong Document Returned");
        }