Example #1
0
    public static void Y2016_Day20_GetLowestNonblockedIP_Returns_Correct_Solution(uint maxValue, string[] denyList, uint expectedIP, uint expectedCount)
    {
        // Act
        uint address = Day20.GetLowestNonblockedIP(maxValue, denyList, out uint count);

        // Assert
        address.ShouldBe(expectedIP);
        count.ShouldBe(expectedCount);
    }