Fixed preview and clothes bug
This commit is contained in:
committed by
Dries Van Schuylenbergh
parent
1e09f09dae
commit
7df6ea1ecd
@@ -135,6 +135,21 @@ public class CoursesControllerTests
|
||||
|
||||
var coursesController = GameObject.FindObjectOfType<CoursesController>();
|
||||
Assert.IsNotNull(coursesController);
|
||||
Assert.AreEqual(coursesController.GetPanelId(), 0);
|
||||
|
||||
// Check that you reach multiple-choice after 6 NextSigns
|
||||
coursesController.NextSign();
|
||||
yield return new WaitForSeconds(1f);
|
||||
coursesController.NextSign();
|
||||
yield return new WaitForSeconds(1f);
|
||||
coursesController.NextSign();
|
||||
yield return new WaitForSeconds(1f);
|
||||
coursesController.NextSign();
|
||||
yield return new WaitForSeconds(1f);
|
||||
coursesController.NextSign();
|
||||
yield return new WaitForSeconds(1f);
|
||||
coursesController.NextSign();
|
||||
yield return new WaitForSeconds(1f);
|
||||
Assert.AreEqual(coursesController.GetPanelId(), 1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user