public void DoPuzzle() { var blocked = GetBlockedIpsOfInput(); var lowestUnblocked = IPReader.GetLowestUnblocked(blocked, 0, 4294967295); Assert.IsTrue(lowestUnblocked > 1770166); //wrong! Console.Out.WriteLine(lowestUnblocked); }
public void Example() { Assert.AreEqual((uint)3, IPReader.GetLowestUnblocked(new uint[][] { new uint[] { 5, 8 }, new uint[] { 0, 2 }, new uint[] { 4, 7 } }, 0, 9)); }