Пример #1
0
        public void TestMethod2()
        {
            var Input    = "Keep calm and code on";
            var Expected = "On and keep calm code";
            var Actual   = RearrangeWordsInASentence_1451.ArrangeWords(Input);

            Assert.AreEqual(Expected, Actual);
        }
Пример #2
0
        public void TestMethod3()
        {
            var Input    = "To be or not to be";
            var Expected = "To be or to be not";
            var Actual   = RearrangeWordsInASentence_1451.ArrangeWords(Input);

            Assert.AreEqual(Expected, Actual);
        }
Пример #3
0
        public void TestMethod1()
        {
            var Input    = "Leetcode is cool";
            var Expected = "Is cool leetcode";
            var Actual   = RearrangeWordsInASentence_1451.ArrangeWords(Input);

            Assert.AreEqual(Expected, Actual);
        }