From 6d9908b29c8187196d23b126b1165c7e0bd0fc76 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Thu, 1 Oct 2026 19:30:38 -0400 Subject: fix: casino pai gow sorting, universal unbet, table/rules split, remove solo timers --- internal/casino/craps_clock_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'internal/casino/craps_clock_test.go') 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) } -- cgit v1.2.3