Пример #1
0
        public void AWalkIsACloneOfAnotherWalkIfItContainsTheSameTownsInTheSameOrder()
        {
            var town1 = new Town(1, 1);
            var town2 = new Town(2, 2);
            var town3 = new Town(3, 3);
            var path1 = new Path {
                town1, town2, town3
            };
            var path2 = new Path {
                town1, town2, town3
            };

            var actual = _sut.AreClones(path1, path2);

            actual.Should().BeTrue();
        }