Example #1
0
        public void TestAt()
        {
            decisions.Decide(1, 1, defaultRule);
            decisions.Decide(-2, 2, defaultRule);
            decisions.Decide(3, 3, defaultRule);

            Assert.AreEqual(1, decisions.At(0).Literal);
            Assert.AreEqual(-2, decisions.At(1).Literal);
            Assert.AreEqual(3, decisions[2].Literal);
        }