aboutsummaryrefslogtreecommitdiff
path: root/internal/game/roulette_test.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-10-03 02:16:00 -0400
committerhistoria <[not public]>2026-10-03 02:16:00 -0400
commit6232d41e5639f9c38e47b2bb65266e343ca26e8f (patch)
treead0c1676838a6c7e162d3a5c055f914016dac803 /internal/game/roulette_test.go
parentefccf58741ae43d9e891c6b743b146982b344ccf (diff)
downloadthehouseoficarus-6232d41e5639f9c38e47b2bb65266e343ca26e8f.tar.gz
feat: add casino_hints option and standardize casino command syntax
Diffstat (limited to 'internal/game/roulette_test.go')
-rw-r--r--internal/game/roulette_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/game/roulette_test.go b/internal/game/roulette_test.go
index 481044d..fb773a3 100644
--- a/internal/game/roulette_test.go
+++ b/internal/game/roulette_test.go
@@ -57,6 +57,9 @@ func TestRouletteCombinationTargetParsing(t *testing.T) {
g.loggedInChars = map[string]*net.Session{"alice": sess}
// Multi-token targets are joined for roulette, with or without "on".
valid := [][]string{
+ // A numeric target needs no "on": "bet 10 17" == "bet 10 on 17".
+ {"10", "17"},
+ {"10", "on", "17"},
{"10", "on", "split", "1", "2"},
{"10", "on", "split", "1-2"},
{"10", "split", "1-2"},