12345678910111213141516171819202122232425262728293031323334 |
- using System.Collections;
- using System.Collections.Generic;
- using System.Reflection;
- using System.Security.Policy;
- using NUnit.Framework;
- using UnityEngine;
- using UnityEngine.TestTools;
- using KairoEngine.Core;
- namespace KairoEngine.Core.EditorTests
- {
- public class EventManagerTests
- {
- [Test]
- public void EventManager_exists()
- {
- var classType = typeof(EventManager);
- /*
- var classType = System.Type.GetType("KairoEngine.Core.EventManager");
- var classType = (from assembly in AppDomain.CurrentDomain.GetAssemblies()
- from type in assembly.GetTypes()
- where type.Name == "KairoEngine.Core.EventManager"
- select type).firstOrDefault();
- */
- Assert.IsNotNull(classType);
- }
- [Test]
- public void EventManager_request_exists()
- {
- Assert.IsNotNull(EventManager.request);
- }
- }
- }
|