public void FindSolutionToPart1() { var game = new MarbleGame(441); (int winner, long score) = game.Play(71032); Assert.That(score, Is.EqualTo(393229)); }
public void FindSolutionToPart2() { var game = new MarbleGame(441); (int winner, long score) = game.Play(7103200); Assert.That(score, Is.EqualTo(3273405195L)); }
public long TestChecksum(int players, int lastMarbleValue) { var game = new MarbleGame(players); (int winner, long score) = game.Play(lastMarbleValue); return(score); }