AjTalk.Tests.Compiler.VmCompilerTests.CompileMultiCommandMethodWithLocal C# (CSharp) Метод

CompileMultiCommandMethodWithLocal() приватный Метод

private CompileMultiCommandMethodWithLocal ( ) : void
Результат void
        public void CompileMultiCommandMethodWithLocal()
        {
            IClass cls = this.CompileClass(
                "Rectangle",
                new string[] { "x", "y" },
                new string[] { "side: newSide | temp | temp := x. x := temp. y := temp" });

            Assert.IsNotNull(cls);

            Assert.IsNotNull(cls.GetInstanceMethod("side:"));
        }