Beispiel #1
0
        public void EnableTest()
        {
            LoadJitexTest();
            JitexManager.DisableJitex();
            JitexManager.EnableJitex();

            MethodInfo method = GetMethod <ManagerTest>(nameof(MethodToCompileOnEnable));

            MethodToCompileOnEnable();
            bool called = MethodsCompiled.Contains(method);

            Assert.True(called, "Method resolver not called!");
        }