public void ReverseAndNot_MaxInt32_ReturnsReversedAndOriginal() { //Arrange - initialize objects Reverser reverser = new Reverser(); //Act var result = reverser.ReverseAndNot(Int32.MaxValue); //Assert Assert.AreEqual("74638474122147483647", result); }
public void ReverseAndNot_ValidInt_ReturnsReversedAndOriginal() { //Arrange - initialize objects Reverser reverser = new Reverser(); //Act var result = reverser.ReverseAndNot(1234); //Assert Assert.That("43211234" == result); }