Пример #1
0
        public void ItShouldReplaceMultipleWubsInTheMiddleOfTheLyricWithASingleSpace()
        {
            var dubstepDj = new DubStepDJ("WUB", " ");

            Assert.AreEqual("Hello World", dubstepDj.SongDecoder("HelloWUBWUBWUBWorld"));
        }
Пример #2
0
        public void ItShouldRemoveWubAtTheEndtOfTheLyric()
        {
            var dubstepDj = new DubStepDJ("WUB", " ");

            Assert.AreEqual("Lyric", dubstepDj.SongDecoder("LyricWUB"));
        }
Пример #3
0
        public void ItShouldReturnR_L()
        {
            var dubstepDj = new DubStepDJ("WUB", " ");

            Assert.AreEqual("R L", dubstepDj.SongDecoder("RWUBWUBWUBLWUB"));
        }
Пример #4
0
        public void ItShouldRemoveWubAtTheStartOfTheLyric()
        {
            var dubstepDj = new DubStepDJ("WUB", " ");

            Assert.AreEqual("YourSpace", dubstepDj.SongDecoder("WUBYourSpace"));
        }
Пример #5
0
        public void ItShouldReturnABC()
        {
            var dubstepDj = new DubStepDJ("WUB", " ");

            Assert.AreEqual("ABC", dubstepDj.SongDecoder("WUBWUBABCWUB"));
        }