Пример #1
0
        public void TestGetRandom()
        {
            dataStructure.Put(1, "abc");
            dataStructure.Put(2, "xyz");
            List <int> expected = new List <int>()
            {
                1, 2
            };

            CollectionAssert.Contains(expected, dataStructure.GetRandomKey());
        }