public void resumeSpeechAnimationTest() { const int testValue = 0; var sam = new SpeechAnimationManager(); sam.pauseSpeechAnimation(4); sam.resumeSpeechAnimation(testValue); Assert.IsTrue(sam.getIsSpeaking()); Assert.AreEqual(testValue, sam.getCharIndex()); }
public void pauseSpeechAnimationTest() { const int testValue = 5; var sam = new SpeechAnimationManager(); sam.startSpeechAnimation(0); sam.pauseSpeechAnimation(testValue); Assert.IsFalse(sam.getIsSpeaking()); Assert.AreEqual(testValue, sam.getCharIndex()); }