Ejemplo n.º 1
0
        public void ShouldFindAllVariants()
        {
            const string value    = "000000000000000000000000000000X1101X";
            var          actual   = Day14.GetAddressVariants(value);
            var          expected = new[]
            {
                "000000000000000000000000000000011010",
                "000000000000000000000000000000011011",
                "000000000000000000000000000000111010",
                "000000000000000000000000000000111011"
            };

            Assert.Equal(expected, actual);
        }