Created
April 6, 2018 04:00
-
-
Save miparnisari/11bb57e343cef47fbb4737afa35dcec8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using NUnit.Framework; | |
using System.Collections; | |
using UnityEngine.TestTools; | |
public class NewEditModeTest { | |
// A UnityTest behaves like a coroutine in PlayMode | |
// and allows you to yield null to skip a frame in EditMode | |
[UnityTest] | |
public IEnumerator NewEditModeTestWithEnumeratorPasses() { | |
// Use the Assert class to test conditions. | |
// yield to skip a frame | |
var tts = new TextToSpeech(); | |
var resp = tts.RequestToken(); | |
yield return resp; | |
Assert.AreEqual(true,true); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment