From d4eae333a8d8a96452bbf3617aa85b50466c11a7 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Thu, 1 Oct 2026 05:05:11 -0400 Subject: feat: concise table/machine names, casino command shortcuts, remove payout video poker command --- internal/game/video_poker_cabinet_test.go | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'internal/game/video_poker_cabinet_test.go') diff --git a/internal/game/video_poker_cabinet_test.go b/internal/game/video_poker_cabinet_test.go index a327bce..0e46c82 100644 --- a/internal/game/video_poker_cabinet_test.go +++ b/internal/game/video_poker_cabinet_test.go @@ -120,6 +120,27 @@ func TestPokerCorruptBankRefusesDeal(t *testing.T) { } } +// TestVestaVideoPokerPayoutTiers pins the authored tiering: the parlor, high-limit +// and VIP rooms each hold the full cabinet set at one house-set payout, and no +// player command can change it. +func TestVestaVideoPokerPayoutTiers(t *testing.T) { + _, rooms, _ := loadVesta(t) + for id, tier := range map[int]string{6192: "low", 6193: "normal", 6194: "full"} { + r, ok := rooms[id] + if !ok { + t.Fatalf("missing video poker room %d", id) + } + if len(r.CasinoTables) != 5 { + t.Fatalf("room %d has %d cabinets, want the full set of 5", id, len(r.CasinoTables)) + } + for _, cfg := range r.CasinoTables { + if cfg.Game != casino.GameVideoPoker || cfg.VideoPoker.Payout != tier { + t.Fatalf("room %d/%s = %s/%s, want video_poker/%s", id, cfg.ID, cfg.Game, cfg.VideoPoker.Payout, tier) + } + } + } +} + func TestPokerInterruptedTransactionRecovery(t *testing.T) { g, sess, _ := casinoCrapsGame(t, uxTestRoom) g.DataDir = t.TempDir() -- cgit v1.2.3