diff options
| author | historia <[not public]> | 2026-10-01 19:30:38 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-10-01 19:30:38 -0400 |
| commit | 6d9908b29c8187196d23b126b1165c7e0bd0fc76 (patch) | |
| tree | ddbc02357ed92646b801687b90b1a06c71a15d71 /internal/casino/craps_clock_test.go | |
| parent | 8a94f21bd47c0a00bc415395232dba22fa958837 (diff) | |
| download | thehouseoficarus-6d9908b29c8187196d23b126b1165c7e0bd0fc76.tar.gz | |
fix: casino pai gow sorting, universal unbet, table/rules split, remove solo timers
Diffstat (limited to 'internal/casino/craps_clock_test.go')
| -rw-r--r-- | internal/casino/craps_clock_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/casino/craps_clock_test.go b/internal/casino/craps_clock_test.go index 518d18d..8f606f9 100644 --- a/internal/casino/craps_clock_test.go +++ b/internal/casino/craps_clock_test.go @@ -46,7 +46,7 @@ func TestCrapsMultiplayerClockAndLateBets(t *testing.T) { if len(w.open) != 2 { t.Fatal("late bet rejected") } - tb.action("alice", "unbet field") + tb.action("alice", "unbet") if len(tb.players.get("alice").bets) != 1 { t.Fatal("late removal rejected") } @@ -239,7 +239,7 @@ func TestCrapsUnbetAllAndRollTableFormat(t *testing.T) { tb.bet("alice", "place 4", 10, w) tb.bet("alice", "field", 10, w) before := w.paid - events := tb.action("alice", "unbet all") + events := tb.action("alice", "unbet") text := crapsEventText(events) if !strings.Contains(text, "take down {casino_chips}40{/}") || !strings.Contains(text, "contracts stay up") { t.Fatal(text) @@ -254,7 +254,7 @@ func TestCrapsUnbetAllAndRollTableFormat(t *testing.T) { if tb.hasLiveBets() != true || len(w.open) != 2 { t.Fatal("pass and fire stakes must stay pending", w.open) } - tb.action("alice", "unbet all") + tb.action("alice", "unbet") if w.paid != before+40 { t.Fatal("second unbet all moved money", w.paid) } |
