コード例 #1
0
        public void GenerateKeystream_TenLetters_UnkeyedDeck()
        {
            string value = SolitaireCipher.GenerateKeystream(new Deck(true), 10);

            Assert.AreEqual("DWJXHYRFDG", value);
        }
コード例 #2
0
        public void GenerateKeystream_OneLetter_UnkeyedDeck()
        {
            string value = SolitaireCipher.GenerateKeystream(new Deck(true), 1);

            Assert.AreEqual("D", value);
        }