Ejemplo n.º 1
0
        public void wonAmount_test_colorbet(uint a)
        {
            var field = fieldGenerator.CreateFields();

            bet = new ColorBet("testbet", a, field.First().Color);
            Assert.That(bet.WonAmount(field.First()), Is.EqualTo(a * 2));
        }
Ejemplo n.º 2
0
        public void wonAmount_test_Evenoddbet(uint a)
        {
            var field = fieldGenerator.CreateFields();

            bet = new EvenOddBet("testbet", a, true);
            Assert.That(bet.WonAmount(field.First()), Is.EqualTo(a * 2));
        }
Ejemplo n.º 3
0
        public void wonAmount_test_fieldbet(uint a)
        {
            var field = fieldGenerator.CreateFields();

            bet = new FieldBet("testbet", a, field.First().Number);
            Assert.That(bet.WonAmount(field.First()), Is.EqualTo(a * 36));
        }