コード例 #1
0
 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);
 }
コード例 #2
0
 public void CryptoAlgorithmAttributeConstructorTest()
 {
     var target = new CryptoAlgorithmAttribute();
     Assert.IsNotNull(target);
 }