예제 #1
0
        public void DecodeTest()
        {
            // A A A
            // arrange
            var str      = "bcd";
            var expected = "abc";
            var key      = 1;

            //act
            var actual = PasswordEncoder.Decode(str, key);

            // assert
            Assert.AreEqual(expected, actual);
        }