public void GartenZaun_DecryptThreeRows_Correct() { var gartenZaunAlgorithm = new OctothorpeAlgorithm(3); string decrypt = gartenZaunAlgorithm.Encrypt("hallo liebe omi"); Assert.AreEqual("hllboaoieml e i", decrypt); }
public void GartenZaun_Decrypt_Correct() { var gartenZaunAlgorithm = new OctothorpeAlgorithm(2); string decrypt = gartenZaunAlgorithm.Encrypt("hallo liebe omi"); Assert.AreEqual("hloleeoial ib m", decrypt); }