public void FetchingPreviousRoundWithFirstRoundYieldsNull() { RoundBase firstRound = tournament.AddRoundRobinRound(); RoundBase previousRound = firstRound.GetPreviousRound(); previousRound.Should().BeNull(); }
public void CanFetchRoundBeforeThisRound() { RoundBase beforeRound = tournament.AddRoundRobinRound(); RoundBase thisRound = tournament.AddRoundRobinRound(); RoundBase previousRound = thisRound.GetPreviousRound(); previousRound.Should().Be(beforeRound); }