aboutsummaryrefslogtreecommitdiff
path: root/internal/game/roulette_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/roulette_test.go
parentd3a305d1d7962f82af2397760cf8008758bddd1d (diff)
downloadthehouseoficarus-62017c86392b046d746fb4fafef6742840477c5f.tar.gz
feat: polish 'list' output, drop sitout command
Diffstat (limited to 'internal/game/roulette_test.go')
-rw-r--r--internal/game/roulette_test.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/internal/game/roulette_test.go b/internal/game/roulette_test.go
index 9eaea8e..481044d 100644
--- a/internal/game/roulette_test.go
+++ b/internal/game/roulette_test.go
@@ -32,8 +32,10 @@ func TestRouletteNumericTargetsAndRendering(t *testing.T) {
}
conn.data = nil
g.executeTableStatus(sess, nil, "table")
- if !strings.Contains(string(conn.data), "35:1") || strings.Contains(string(conn.data), "Blackjack") {
- t.Fatal("wrong felt", string(conn.data))
+ // The table command shows the wheel board alone: no payout reminder.
+ text := string(conn.data)
+ if !strings.Contains(text, "History") || strings.Contains(text, "Blackjack") || strings.Contains(text, "35:1") {
+ t.Fatal("wrong felt", text)
}
snapshot := &casino.RouletteSnapshot{DoubleZero: double, Phase: "playing", Players: []string{"alice"}}
if got := g.renderCasinoSnapshot(sess, snapshot); got != renderRouletteSnapshot(snapshot, g.colorMode(sess), sess.Player.OptionBool("unicode"), sess.Player.OptionInt("card_size")) {