コード例 #1
0
        public void ContainsKeyTest()
        {
            var queue = _random.UniqueNumberQueue();
            var coord = HexCoordinates.Axial(queue.Dequeue(), queue.Dequeue());

            _grid.Add(coord, queue.Dequeue());
            Assert.True(_grid.ContainsKey(coord));
            var coord2 = HexCoordinates.Axial(queue.Dequeue(), queue.Dequeue());

            Assert.False(_grid.ContainsKey(coord2));
        }