public void CheckExtractStringsFromConcept() { const string str = "BIP DB.TR.04/12-C.566630 DES:3121-20-1911040137857"; var myNumbers = FromConcept.ExtractStringsFromConcept(str); const int expected = 6; Assert.AreEqual(myNumbers.Count, expected); }
public void CheckExtractStringFromConceptNull() { const string str = ""; var myNumbers = FromConcept.ExtractStringsFromConcept(str); const string expected = ""; Assert.AreEqual(myNumbers.Count, expected.Length); }