public void startSpeechAnimationTest() { const int testValue = 2; var sam = new SpeechAnimationManager(); Assert.IsFalse(sam.getIsSpeaking()); Assert.AreEqual(0, sam.getCharIndex()); sam.startSpeechAnimation(testValue); Assert.IsTrue(sam.getIsSpeaking()); Assert.AreEqual(testValue, sam.getCharIndex()); }
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()); }