aboutsummaryrefslogtreecommitdiff
path: root/internal/game/render_baccarat_felt_test.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-10-02 02:16:44 -0400
committerhistoria <[not public]>2026-10-02 02:16:44 -0400
commit62017c86392b046d746fb4fafef6742840477c5f (patch)
treeeab569e29e858ff79b8ce06caa9bacb28bc9ee81 /internal/game/render_baccarat_felt_test.go
parentd3a305d1d7962f82af2397760cf8008758bddd1d (diff)
downloadthehouseoficarus-62017c86392b046d746fb4fafef6742840477c5f.tar.gz
feat: polish 'list' output, drop sitout command
Diffstat (limited to 'internal/game/render_baccarat_felt_test.go')
-rw-r--r--internal/game/render_baccarat_felt_test.go9
1 files changed, 6 insertions, 3 deletions
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) {