AjTalk.Tests.LibraryEvaluateTests.BooleanIfNilIfNotNil C# (CSharp) Méthode

BooleanIfNilIfNotNil() private méthode

private BooleanIfNilIfNotNil ( ) : void
Résultat void
        public void BooleanIfNilIfNotNil()
        {
            Assert.AreEqual(null, this.Evaluate("false ifNil: [1]"));
            Assert.AreEqual(1, this.Evaluate("true ifNotNil: [1]"));
        }