Ejemplo n.º 1
0
        public void CollectTreasure_should_increment_found_treasures_counter()
        {
            // Given :
            Adventurer adventurer = new Adventurer(
                "Ismaïl",
                new Position(0, 0),
                Orientation.North,
                new List <Motion> {
            }
                );

            // When :
            adventurer.CollectTreasure();

            // Then :
            adventurer.FoundTreasuresCount.Should().Be(1);
        }