From 62017c86392b046d746fb4fafef6742840477c5f Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Fri, 2 Oct 2026 02:16:44 -0400 Subject: feat: polish 'list' output, drop sitout command --- internal/game/render_baccarat_felt_test.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'internal/game/render_baccarat_felt_test.go') diff --git a/internal/game/render_baccarat_felt_test.go b/internal/game/render_baccarat_felt_test.go index a3bb01c..0b2a942 100644 --- a/internal/game/render_baccarat_felt_test.go +++ b/internal/game/render_baccarat_felt_test.go @@ -14,7 +14,7 @@ func TestBaccaratRulesFeltGeometryAndPhrases(t *testing.T) { for _, unicode := range []bool{false, true} { art := renderBaccaratRulesFelt(cfg, "none", unicode) rows := strings.Split(strings.TrimSuffix(art, "\n"), "\n") - if len(rows) != 22 { + if len(rows) != 26 { t.Fatalf("felt height %d", len(rows)) } for _, row := range rows { @@ -29,13 +29,16 @@ func TestBaccaratRulesFeltGeometryAndPhrases(t *testing.T) { "SIDE BETS", "HOUSE", "PLAYER PAIR", "BANKER PAIR", "11:1", "DRAGON 7", "PANDA 8", "SUPER 6", "NOT OFFERED", "DECKS", "SHUFFLE AT", "BET LIMITS", "1-100 CREDITS", "35 TICKS", - "DRAWING — AUTOMATIC PUNTO BANCO", "DRAWS 0-5", "6 DRAWS VS 6-7", - "ONE MAIN BET (PLAYER/BANKER/TIE) PLUS SIDE BETS", + "DRAWING — AUTOMATIC PUNTO BANCO", "HAND", "BANKER (PLAYER STANDS)", + "BANKER (PLAYER DRAWS)", "draw unless vs 8", "draw vs 2-7", "draw vs 4-7", "draw vs 6-7", } { if !strings.Contains(art, want) { t.Fatalf("missing %q in unicode=%v felt", want, unicode) } } + if strings.Contains(art, "ONE MAIN BET") { + t.Fatal("drawing table kept the removed main-bet line") + } // The raw dump's phrases must not leak onto the felt. for _, stale := range []string{"Number of decks", "Drawing: Automatic", "Fractional credits:"} { if strings.Contains(art, stale) { -- cgit v1.2.3