Example #1
0
        public void GetPathLength(string node, int length)
        {
            _day6.BuildGraph(_sampleInput);
            var parents = _day6.GetParents(node).ToList();

            Console.WriteLine(string.Join(",", parents));
            Assert.AreEqual(length, parents.Count());
        }