コード例 #1
0
        public void PatternFinderCheckNeighbours3Test()
        {
            //arrange
            //act
            var neighbours = PatternFinder.CheckNeighboursInEachDirection(0, 1, patterndataResults);

            foreach (var item in neighbours.directionNeighbourPatternDictionary)
            {
                Debug.Log("Direction " + item.Key.ToString());
                foreach (var item2 in item.Value)
                {
                    Debug.Log("Pattern: " + item2);
                }
            }

            Assert.That(neighbours.directionNeighbourPatternDictionary.Count == 3);
        }