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()); }
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()); }