public void NegativeOrZeroNumbersTest(int n) { Assert.Throws <ArgumentOutOfRangeException>(() => BinarySolver.Solve(n)); }
public void TestOnPositiveNumbers(int n, int expectedBinaryGap) { Assert.Equal(expectedBinaryGap, BinarySolver.Solve(n)); }