コード例 #1
0
        public void BetterThan()
        {
            IAnalysisCriterion criterion = new RewardRiskRatioCriterion();

            Assert.IsTrue(criterion.BetterThan(3.5, 2.2));
            Assert.IsFalse(criterion.BetterThan(1.5, 2.7));
        }
コード例 #2
0
        public void BetterThan()
        {
            AbstractAnalysisCriterion criterion = new RewardRiskRatioCriterion();

            Assert.IsTrue(criterion.BetterThan(3.5M, 2.2M));
            Assert.IsFalse(criterion.BetterThan(1.5M, 2.7M));
        }