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

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

private CompileSetMethod ( ) : void
Результат void
        public void CompileSetMethod()
        {
            Machine machine = new Machine();
            IClass cls = machine.CreateClass("Rectangle");
            cls.DefineInstanceVariable("x");
            var method = this.compiler.CompileInstanceMethod("x: newX x := newX", cls);
            Assert.IsNotNull(method);
            Assert.IsNotNull(method.ByteCodes);
        }