예제 #1
0
        public void TestPlayWithManyEffect()
        {
            var synth = new WordSynthesizer();

            synth.AddEffect(Effects.Echo(2));
            synth.AddEffect(Effects.Loud(3));
            synth.AddEffect(Effects.Reverce());
            Assert.Equal("!!!##CC !!!SSII !!!!!LLUUFFRREEDDNNOOWW", synth.Play("C# is wonderful!"));
        }
예제 #2
0
        public void TestPlayWithNoEffect()
        {
            var synth = new WordSynthesizer();

            Assert.Equal("C# is wonderful!", synth.Play("C# is wonderful!"));
        }