Example #1
0
        public void Intersections_have_steps(string path1, string path2, string intersection, int expectedSteps1, int expectedSteps2)
        {
            var wire1 = new Wire(path1).GetIntersections();
            var wire2 = new Wire(path2).GetIntersections();

            Assert.That(wire1.ContainsKey(intersection), Is.True);
            Assert.That(wire2.ContainsKey(intersection), Is.True);
            Assert.That(wire1[intersection], Is.EqualTo(expectedSteps1));
        }