AjRools.Expert.Tests.Rules.RuleTests.RuleNotFireInEmptyWorld C# (CSharp) 메소드

RuleNotFireInEmptyWorld() 개인적인 메소드

private RuleNotFireInEmptyWorld ( ) : void
리턴 void
        public void RuleNotFireInEmptyWorld()
        {
            Rule rule = new Rule(new Fact[] {
                new IsFact("Temperature", 40),
                new IsFact("Age", 50)
            }, null);

            World world = new World();

            Assert.IsFalse(rule.FireIfReady(world));
        }