Ejemplo n.º 1
0
        public void FinishRace_Defualt_SetsPosition()
        {
            var racePlayer = new RacePlayer();
            racePlayer.FinishRace(new TimeSpan(), 1);

            racePlayer.Position.Should().Be(1);
        }
Ejemplo n.º 2
0
        public void FinishRace_Defualt_SetsPosition()
        {
            var racePlayer = new RacePlayer();

            racePlayer.FinishRace(new TimeSpan(), 1);

            racePlayer.Position.Should().Be(1);
        }
Ejemplo n.º 3
0
        public void FinishRace_Defualt_SetsFinishTime()
        {
            var racePlayer = new RacePlayer();
            var finishTime = new TimeSpan(0, 2, 20);

            racePlayer.FinishRace(finishTime, 1);

            racePlayer.FinishTime.Should().Be(finishTime);
        }
Ejemplo n.º 4
0
        public void FinishRace_Defualt_SetsFinishTime()
        {
            var racePlayer = new RacePlayer();
            var finishTime = new TimeSpan(0, 2, 20);

            racePlayer.FinishRace(finishTime, 1);

            racePlayer.FinishTime.Should().Be(finishTime);
        }