public void reverseBits2() { //Arrange uint n = 4294967293; uint expected = 3221225471; //Act Solution190 s = new Solution190(); uint actual = s.reverseBits(n); //Assert Assert.Equal(expected, actual); }
public void reverseBits1() { //Arrange uint n = 43261596; uint expected = 964176192; //Act Solution190 s = new Solution190(); uint actual = s.reverseBits(n); //Assert Assert.Equal(expected, actual); }