Exemple #1
0
        public void ReturnsFalse_WhenNoBuyPrices()
        {
            var data = GetBasicData(new int[] { });

            var prover = new SpecificDayOutsidePercentageRangeProver(0, 95, 105);

            prover.MatchesFor(data).Should().BeFalse();
        }
Exemple #2
0
        public void ReturnsFalse_WhenDayIndexHasNoPriceYet(int[] buyPrices, int dayIndex, int lowerRange, int upperRange)
        {
            var data = GetBasicData(buyPrices);

            var prover = new SpecificDayOutsidePercentageRangeProver(dayIndex, lowerRange, upperRange);

            prover.MatchesFor(data).Should().BeFalse();
        }