public void TestEncryptionSolution(string decryptedText, string expected)
        {
            // Arrange
            decryptedText = decryptedText.Replace(" ", "");

            // Act
            string encryptedText = new Solutions.Implementation.Encryption.Solution().GetSolution(decryptedText);

            NUnit.Framework.Assert.AreEqual(expected, encryptedText);
        }
Exemple #2
0
        public void TestEncryptionSolution(string decryptedText, string expected)
        {
            // Arrange
            decryptedText = decryptedText.Replace(" ", "");

            // Act
            string encryptedText = new Solutions.Implementation.Encryption.Solution().GetSolution(decryptedText);

            NUnit.Framework.Assert.AreEqual(expected, encryptedText);
        }