示例#1
0
        public void BiDictionaryTest_count_simple()
        {
            var biDictionary = new BiDictionary <Vector2Int, Vector2Int>
            {
                { new Vector2Int(5, 5), new Vector2Int(4, 4) },
                { new Vector2Int(6, 6), new Vector2Int(3, 3) },
                { new Vector2Int(7, 7), new Vector2Int(2, 2) }
            };

            Assert.AreEqual(3, biDictionary.Count());
        }