示例#1
0
        public void CountFuzzes(int address, string mask, int count)
        {
            var addresses = Masker.FuzzMask(mask, address);

            addresses.ToList().Count.ShouldBe(count);
        }
示例#2
0
        public void TestFuzzes(long input, string mask, long[] addresses)
        {
            var result = Masker.FuzzMask(mask, input).ToArray();

            result.OrderBy(x => x).ShouldBe(addresses.OrderBy(x => x));
        }