Esempio n. 1
0
        public override string SecondStar()
        {
            var input  = ReadInput();
            var result = Dancing.Read(Seed, input, 1_000_000_000);

            return(result.ToString());
        }
Esempio n. 2
0
        public static void SecondStarExample()
        {
            string instructions = "s3";
            var    order        = Dancing.Read("abcde", instructions);

            Assert.Equal("cdeab", order);
        }
Esempio n. 3
0
        public override string FirstStar()
        {
            var input  = ReadInput();
            var result = Dancing.Read(Seed, input);

            return(result.ToString());
        }
Esempio n. 4
0
        public static void FirstStarExample(string instructions, string expected)
        {
            var positions = Dancing.Read("abcde", instructions);

            Assert.Equal(expected, positions);
        }