Ejemplo n.º 1
0
        public void TwoWalkAreCompatibleIfTheyWalksThrouTheSameTowns()
        {
            var town1 = new Town(1, 1);
            var town2 = new Town(2, 2);
            var path1 = new Path {
                town1, town2
            };
            var path2 = new Path {
                town1, town2
            };

            _sut.AreCompatible(path1, path2).Should().BeTrue();
        }