Пример #1
0
 public void Test_Containes_ShouldReturnTrueWhenContained()
 {
     data = new Hashset<int>(4);
     data.Add(key1);
     data.Add(key2);
     data.Add(key3);
     var isContained = data.Containes(key2);
     Assert.IsTrue(isContained, "Hashset Containes should true when contained.");
 }
Пример #2
0
        public void Test_Containes_ShouldReturnTrueWhenContained()
        {
            data = new Hashset <int>(4);
            data.Add(key1);
            data.Add(key2);
            data.Add(key3);
            var isContained = data.Containes(key2);

            Assert.IsTrue(isContained, "Hashset Containes should true when contained.");
        }