public void Day23_CrabCups_Part1_Ok() { var sut = new CrabCupsGame(prodData); for (int i = 0; i < 100; i++) { sut.DoMove(9); } string actual = sut.CupsAfterOne(); Assert.Equal("49725386", actual); }
public void Day23_Example_100_Moves_Ok() { string data = "389125467"; var sut = new CrabCupsGame(data); for (int i = 0; i < 100; i++) { sut.DoMove(9); } string actual = sut.CupsAfterOne(); Assert.Equal("67384529", actual); }