public void CountFuzzes(int address, string mask, int count) { var addresses = Masker.FuzzMask(mask, address); addresses.ToList().Count.ShouldBe(count); }
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)); }