public void TestMethod4() { string expected = "aaa"; string msg = "zzz"; EncryptionHelper th = new EncryptionHelper(); string actual = th.encryptMessage(msg); Assert.AreEqual(expected, actual); }
public void TestMethod5() { string msg = "abc 123def"; string expectedResult = "bcd 123efg"; EncryptionHelper th = new EncryptionHelper(); string actualResult = th.encryptMessage(msg); Assert.AreNotEqual(expectedResult, actualResult); }
public void TestMethod1() { //arrange char expected = 'b'; char msg = 'a'; EncryptionHelper th = new EncryptionHelper(); //act char actual = th.encryptAlphabet(msg); //assert Assert.AreEqual(expected, actual); }