public void CanParseCups() { var d = new Day23(); var c = d.Parse("389125467"); Assert.AreEqual("389125467", d.Describe(c)); }
public void CanDo10Moves() { var d = new Day23(); var c = d.Parse("389125467"); c = d.Move(c, 10); Assert.AreEqual(8, c); Assert.AreEqual("837419265", d.Describe(c)); }
public void CanDoFirstMove() { var d = new Day23(); var c = d.Parse("389125467"); c = d.MoveOne(c); Assert.AreEqual(2, c); Assert.AreEqual("289154673", d.Describe(c)); }