public void TranspositionalCipherTest() { Assert.IsType <TranspositionalCipher>(CryptographyFactory.GetAlgorithm("transpositional")); }
public void InValidAlgorithmTest() { Assert.Throws <InValidAlgorithmException>(() => CryptographyFactory.GetAlgorithm("ceaser")); }
public void SubstitutionalCipherTest() { Assert.IsType <SubstitutionalCipher>(CryptographyFactory.GetAlgorithm("substitutional")); }