public void HammingWeight(uint n, int expected) { var sut = new NumberOf1Bits(); var actual = sut.HammingWeight(n); Assert.AreEqual(expected, actual); }
public void BeforeEach() { numberOf1Bits = new NumberOf1Bits(); }