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/roulette_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/roulette_test.go')
| -rw-r--r-- | internal/casino/roulette_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
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 { |
