public void ItShouldGenerateASecret() { var secretFactory = new SecretFactory(); var secret = secretFactory.GenerateSecret(); Assert.That(secret.Count, Is.EqualTo(4)); }
public void StartGame(List <string> presetSecret = null) { state = GameState.InProgress; guessCount = 0; secret = presetSecret ?? secretFactory.GenerateSecret(); }