예제 #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);
        }