diff options
| author | historia <[not public]> | 2026-08-03 17:15:50 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-08-03 17:15:50 -0400 |
| commit | a2cbc04f86508708daa09affa5e9d73cc689b2ba (patch) | |
| tree | 0d0c6c7fbf4a775faaf5e9dd700157b883882638 /internal/casino/baccarat_test.go | |
| parent | adda27dba5bf7bf1dee62159f0cbc0bd90734751 (diff) | |
| download | thehouseoficarus-a2cbc04f86508708daa09affa5e9d73cc689b2ba.tar.gz | |
feat: new color 'command', color tag system implemented
Diffstat (limited to 'internal/casino/baccarat_test.go')
| -rw-r--r-- | internal/casino/baccarat_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/casino/baccarat_test.go b/internal/casino/baccarat_test.go index 6d3acb1..2cb932e 100644 --- a/internal/casino/baccarat_test.go +++ b/internal/casino/baccarat_test.go @@ -319,6 +319,9 @@ func TestBaccaratMenuAndActions(t *testing.T) { if menu == nil || menu.Kind != MenuBaccaratBet { t.Fatalf("join menu=%+v, want MenuBaccaratBet", menu) } + if len(menu.Commands) != 3 || menu.Commands[0].Command != "bet <amount>" || menu.Commands[2].Command != "stop" { + t.Fatalf("baccarat menu commands=%+v", menu.Commands) + } if events := table.action("alice", "hit"); !hasMessage(events, "no player actions") { t.Fatalf("baccarat action not rejected: %+v", events) } |
