Пример #1
0
        public void WiresSystem_FindManhattanDistanceFromTheCentralPortToTheClosestIntersection(string pathWire1, string pathWire2, int distanceToTheClosesIntersectionPoint)
        {
            var wiresSystem = new WiresSystem();

            int result = wiresSystem.FindManhattanDistanceFromTheCentralPortToTheClosestIntersection(pathWire1, pathWire2);

            Assert.AreEqual(result, distanceToTheClosesIntersectionPoint);
        }