AjTalk.Tests.Compiler.VmCompilerTests.CompileMultiCommandMethod C# (CSharp) Method

CompileMultiCommandMethod() private method

private CompileMultiCommandMethod ( ) : void
return void
        public void CompileMultiCommandMethod()
        {
            IClass cls = this.CompileClass(
                "Rectangle",
                new string[] { "x", "y" },
                new string[] { "side: newSide x := newSide. y := newSide" });

            Assert.IsNotNull(cls);

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