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)); }
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)); }
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)); }