Tests.Tests.TestConst C# (CSharp) Méthode

TestConst() private méthode

private TestConst ( ) : void
Résultat void
        public void TestConst()
        {
            var story = CompileString(@"
VAR x = c

CONST c = 5

{x}
");
            Assert.AreEqual("5\n", story.Continue());
        }
Tests