Exemplo n.º 1
0
        public static int GetDistanceBetweenNodes(Enum.Emotion seedEmotion, Enum.Emotion testEmotion)
        {
            var seedNode = _wheel.FindNode(seedEmotion);
            var testNode = _wheel.FindNode(testEmotion);

            foreach (var n in _wheel.Nodes)
            {
                if (n.Value == testEmotion)
                {
                }
            }

            return(-1);
        }
Exemplo n.º 2
0
        public void FindNode_ThatExists_FirstLevel()
        {
            var node = _wheel.FindNode(2);

            Assert.IsNotNull(node);
        }