public void InjectionSanity()
        {
            List <CodeInstruction> beforeInstructions = PatchTestHelper.GetInstructionsFromMethod(ClipMapManager_ShowEntities_Patch.TARGET_METHOD);

            IEnumerable <CodeInstruction> result = ClipMapManager_ShowEntities_Patch.Transpiler(ClipMapManager_ShowEntities_Patch.TARGET_METHOD, beforeInstructions);

            Assert.IsTrue(beforeInstructions.Count < result.Count());
        }
        public void Sanity()
        {
            List <CodeInstruction> instructions = PatchTestHelper.GenerateDummyInstructions(100);

            instructions.Add(new CodeInstruction(ClipMapManager_ShowEntities_Patch.INJECTION_OPCODE, null));

            IEnumerable <CodeInstruction> result = ClipMapManager_ShowEntities_Patch.Transpiler(null, instructions);

            Assert.AreEqual(108, result.Count());
        }