aboutsummaryrefslogtreecommitdiff
path: root/internal/casino/command_hints_test.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-10-02 17:51:46 -0400
committerhistoria <[not public]>2026-10-02 17:51:46 -0400
commitcac16d1725c46c82a2e62b84c93f7090b2ce0746 (patch)
treee54f6624bdeb47421587656757ef3ce4fd7ebb3f /internal/casino/command_hints_test.go
parent4f40f116ba884111c9a66849e620ff9fbc67530a (diff)
downloadthehouseoficarus-cac16d1725c46c82a2e62b84c93f7090b2ce0746.tar.gz
feat: craps table color improvements, die improvements
Diffstat (limited to 'internal/casino/command_hints_test.go')
-rw-r--r--internal/casino/command_hints_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/casino/command_hints_test.go b/internal/casino/command_hints_test.go
index 353d292..bd15883 100644
--- a/internal/casino/command_hints_test.go
+++ b/internal/casino/command_hints_test.go
@@ -3,7 +3,6 @@ package casino
import (
"strings"
"testing"
- "time"
)
func hintHas(commands []MenuCommand, command string) bool {
@@ -68,7 +67,7 @@ func TestCrapsHintsFollowPlayerState(t *testing.T) {
}
tb.players.get("a").autoRoll = false
tb.bet("b", "pass", 10, &testWallet{chips: 1000})
- tb.tickElapsed(10 * time.Second)
+ tb.advance(10)
if !hintHas(tb.commands("a"), "roll") || hintHas(tb.commands("b"), "roll") {
t.Fatal(v, "wrong shooter hints")
}