Пример #1
0
        public void BetterThan()
        {
            AbstractAnalysisCriterion criterion = new AverageProfitCriterion();

            Assert.IsTrue(criterion.BetterThan(2.0M, 1.5M));
            Assert.IsFalse(criterion.BetterThan(1.5M, 2.0M));
        }
Пример #2
0
        public void BetterThan()
        {
            IAnalysisCriterion criterion = new AverageProfitCriterion();

            Assert.IsTrue(criterion.BetterThan(2.0, 1.5));
            Assert.IsFalse(criterion.BetterThan(1.5, 2.0));
        }