public void ISearch_IsFederalSearch_ReturnsTrue(string input, bool expected) { ICodeSeeker Sample = new CodeSeeker(input, new Codes(mf), mf); Sample.Seek(); Assert.AreEqual(expected, Sample.IsFederalSearch); }
public void ISearchCodes_MainLoop_ReturnsCorrectVRI(string input, string vri) { ICodeSeeker Sample = new CodeSeeker(input, new Codes(mf), mf); Sample.Seek(); var result = Sample.Codes.Show; Assert.AreEqual(vri, result); }
public void Landscaping_NotSingleLandscapeCode_returnsFalse() { IBTI bti = new BTI(); string input = "Благоустройство территории и гараж"; ICodeSeeker searchCodes = new CodeSeeker(input, new Codes(mf), mf); searchCodes.Seek(); CodeHandler processing = new CodeHandler(searchCodes.Codes, bti, input, 0, mf); processing.FullProcessing(); var result = processing.Landscaping; Assert.AreEqual(false, result); }