예제 #1
0
        public void ScramblePasswordTest_b()
        {
            var input = System.IO.File.ReadLines(@"Inputs\day21b.txt").ToList();

            Assert.AreEqual("bdfhgeca", Day21.ScramblePassword("abcdefgh", input));
        }
예제 #2
0
        public void ScramblePasswordTest_0()
        {
            var input = System.IO.File.ReadLines(@"Inputs\day21a.txt").ToList();

            Assert.AreEqual("decab", Day21.ScramblePassword("abcde", input));
        }