diff options
Diffstat (limited to 'internal/casino/craps_test.go')
| -rw-r--r-- | internal/casino/craps_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/casino/craps_test.go b/internal/casino/craps_test.go index 7f3bcfa..8e6e669 100644 --- a/internal/casino/craps_test.go +++ b/internal/casino/craps_test.go @@ -57,7 +57,7 @@ func TestCrapsPayouts(t *testing.T) { {"field", 10, 6, 6, 6, 30}, {"field", 10, 1, 1, 6, 30}, {"field", 10, 3, 4, 6, 0}, {"place 4", 10, 2, 2, 6, 28}, {"place 5", 10, 2, 3, 6, 24}, {"place 6", 12, 3, 3, 6, 26}, {"buy 4", 20, 2, 2, 6, 59}, {"buy 5", 20, 2, 3, 6, 49}, {"buy 6", 20, 3, 3, 6, 43}, - {"lay 4", 40, 3, 4, 6, 59}, {"lay 5", 30, 3, 4, 6, 49}, {"lay 6", 30, 3, 4, 6, 53}, + {"lay 4", 40, 3, 4, 6, 59}, {"lay 5", 30, 3, 4, 6, 49}, {"lay 6", 24, 3, 4, 6, 43}, {"hard 4", 10, 2, 2, 6, 80}, {"hard 6", 10, 3, 3, 6, 100}, {"hard 8", 10, 2, 6, 6, 0}, {"seven", 10, 3, 4, 6, 50}, {"craps", 10, 1, 1, 6, 80}, {"eleven", 10, 5, 6, 6, 160}, {"ace-deuce", 10, 1, 2, 6, 160}, {"aces", 10, 1, 1, 6, 310}, {"boxcars", 10, 6, 6, 6, 310}, @@ -152,7 +152,7 @@ func TestCrapsWorkingRules(t *testing.T) { tb := crapsFixture() tb.join("a") w := &testWallet{chips: 100} - tb.bet("a", spot, 30, w) + tb.bet("a", spot, 60, w) tb.resolveRoll(3, 4) if w.paid != 0 || len(tb.players.get("a").bets) != 1 { t.Fatal(spot) @@ -337,7 +337,7 @@ func TestCrapsValidation(t *testing.T) { tb := crapsFixture() tb.join("a") w := &testWallet{chips: 1000} - for _, spot := range []string{"place 7", "hard 5", "hop 0 6", "horn", "place 6", "come", "odds pass", "unknown"} { + for _, spot := range []string{"place 7", "hard 5", "hop 0 6", "come", "odds pass", "unknown"} { tb.bet("a", spot, 1, w) } if len(w.open) != 0 { |
