Exemplo n.º 1
0
        public void ItShouldReplaceMultipleWubsInTheMiddleOfTheLyricWithASingleSpace()
        {
            var dubstepDj = new DubStepDJ("WUB", " ");

            Assert.AreEqual("Hello World", dubstepDj.SongDecoder("HelloWUBWUBWUBWorld"));
        }
Exemplo n.º 2
0
        public void ItShouldRemoveWubAtTheEndtOfTheLyric()
        {
            var dubstepDj = new DubStepDJ("WUB", " ");

            Assert.AreEqual("Lyric", dubstepDj.SongDecoder("LyricWUB"));
        }
Exemplo n.º 3
0
        public void ItShouldReturnR_L()
        {
            var dubstepDj = new DubStepDJ("WUB", " ");

            Assert.AreEqual("R L", dubstepDj.SongDecoder("RWUBWUBWUBLWUB"));
        }
Exemplo n.º 4
0
        public void ItShouldRemoveWubAtTheStartOfTheLyric()
        {
            var dubstepDj = new DubStepDJ("WUB", " ");

            Assert.AreEqual("YourSpace", dubstepDj.SongDecoder("WUBYourSpace"));
        }
Exemplo n.º 5
0
        public void ItShouldReturnABC()
        {
            var dubstepDj = new DubStepDJ("WUB", " ");

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