Exemplo n.º 1
0
        public void Should_Return_Unusual_Risk_Profile_For_High_Risk_Limit_Stake()
        {
            var profile = _risk.Calculate(new Bet {
                Stake = 1500
            }, Mocks.AverageStake50());

            Assert.AreEqual(profile.Risk, Risk.Unusual);
        }
Exemplo n.º 2
0
        public void Should_Return_High_Risk_Risk_Profile_For_Very_High_Stake()
        {
            var profile = _risk.Calculate(new Bet {
                Stake = 1501
            }, Mocks.AverageStake50());

            Assert.AreEqual(profile.Risk, Risk.HighlyRisky);
        }
Exemplo n.º 3
0
        public void Should_Return_Safe_Risk_Profile_For_Average_Stake()
        {
            var profile = _risk.Calculate(new Bet {
                Stake = 60
            }, Mocks.AverageStake50());

            Assert.AreEqual(profile.Risk, Risk.Safe);
        }