From 4f40f116ba884111c9a66849e620ff9fbc67530a Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Fri, 2 Oct 2026 14:43:26 -0400 Subject: feat: compact craps layout, ux cleanup --- internal/casino/craps_test.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'internal/casino/craps_test.go') diff --git a/internal/casino/craps_test.go b/internal/casino/craps_test.go index 603aedb..3d92e5e 100644 --- a/internal/casino/craps_test.go +++ b/internal/casino/craps_test.go @@ -250,6 +250,10 @@ func TestCrapsTimersControlsAndRefunds(t *testing.T) { t.Fatal("bets must remain open until the roll") } tb.action("a", "roll") + if tb.dice != [2]int{} { + t.Fatal("roll resolved before the shake") + } + tb.tickElapsed(3 * time.Second) if tb.dice == [2]int{} { t.Fatal("no roll") } @@ -262,6 +266,7 @@ func TestCrapsTimersControlsAndRefunds(t *testing.T) { t.Fatal("solo players must never be forced to roll") } tb.action("a", "roll") + tb.tickElapsed(3 * time.Second) if tb.dice == [2]int{} { t.Fatal("solo manual roll stalled") } -- cgit v1.2.3