コード例 #1
0
 public void TestSearchByText()
 {
     var word = "hip";
     var results = new IndicatorSearch().SearchByText(word);
     Assert.IsTrue(results.Any());
     foreach (var indicatorMetadataTextValue in results)
     {
         var name = indicatorMetadataTextValue.Name;
         Assert.IsTrue(name.ToLower().Contains(word),
             word + " not found in " + name);
     }
 }