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/roulette_test.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'internal/casino/roulette_test.go') diff --git a/internal/casino/roulette_test.go b/internal/casino/roulette_test.go index 9a62236..97bff2a 100644 --- a/internal/casino/roulette_test.go +++ b/internal/casino/roulette_test.go @@ -277,6 +277,7 @@ func TestRouletteTimedPhasesAndSettlement(t *testing.T) { wheel := rouletteWheel(double) index := rand.New(rand.NewSource(7)).Intn(len(wheel)) table.join("a") + table.join("idle") w := &testWallet{chips: 100} table.bet("a", wheel[index], 10, w) table.bet("a", "red", 10, w) @@ -325,6 +326,7 @@ func TestRouletteTimedPhasesAndSettlement(t *testing.T) { func TestRouletteBetDoesNotRedrawBoard(t *testing.T) { table := rouletteFixture() table.join("a") + table.join("idle") events := table.bet("a", "red", 10, &testWallet{chips: 100}) for _, e := range events { if e.Snapshot != nil { @@ -344,6 +346,7 @@ func TestRouletteRefundAndPersistenceFailure(t *testing.T) { for _, spinning := range []bool{false, true} { table := rouletteFixture() table.join("a") + table.join("idle") w := &testWallet{chips: 100} table.bet("a", "red", 10, w) if spinning { -- cgit v1.2.3