public void GapTests(int input, int output) { BinaryGap gap = new BinaryGap(); var result = gap.Calculate(input); Assert.AreEqual(output, result); }
public void BinaryGapShouldWork(int input, int expected) { var result = BinaryGap.Calculate(input); Assert.Equal(expected, result); }