public void AlgorithmTest() { var target = new CryptoAlgorithmAttribute() { Algorithm = CryptoAlgorithm.Aes }; var expected = CryptoAlgorithm.Aes; target.Algorithm = expected; var actual = target.Algorithm; Assert.AreEqual(expected, actual); }
public void CryptoAlgorithmAttributeConstructorTest() { var target = new CryptoAlgorithmAttribute(); Assert.IsNotNull(target); }