summaryrefslogtreecommitdiffstats
path: root/tests/server_core.rs
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-10-28 23:19:52 +0100
committersalmonik <salmonik@tuta.io>2026-10-28 23:19:52 +0100
commit2915d826f744612e0d975282f5bddf13270b9f3f (patch)
treea2864bfaef91070ac3b4e13b8b731e539a757cc8 /tests/server_core.rs
parentv1.0.0: replace slots with 5x3 reels and five paylines (diff)
downloadzagan-bet-2915d826f744612e0d975282f5bddf13270b9f3f.tar.gz
zagan-bet-2915d826f744612e0d975282f5bddf13270b9f3f.zip
v1.1.0: highlight winning symbols on the slots board
Diffstat (limited to 'tests/server_core.rs')
-rw-r--r--tests/server_core.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/server_core.rs b/tests/server_core.rs
index f3736e9..5c3c316 100644
--- a/tests/server_core.rs
+++ b/tests/server_core.rs
@@ -189,7 +189,7 @@ fn a_winning_spin_updates_the_balance_and_the_audit_row() {
189 let response = core.handle_message(&mut state, "PLAY_START slots 10"); 189 let response = core.handle_message(&mut state, "PLAY_START slots 10");
190 assert!(response.starts_with("GAME_RESULT"), "spin failed: {response}"); 190 assert!(response.starts_with("GAME_RESULT"), "spin failed: {response}");
191 assert!(response.contains(" 20 10 1010 "), "response: {response}"); 191 assert!(response.contains(" 20 10 1010 "), "response: {response}");
192 assert!(response.ends_with(" win 1"), "response: {response}"); 192 assert!(response.ends_with(" win 1 0,3,6"), "response: {response}");
193 193
194 assert_eq!(core.balance("alice"), Some(1010)); 194 assert_eq!(core.balance("alice"), Some(1010));
195 assert_eq!(core.play_count("alice"), 1); 195 assert_eq!(core.play_count("alice"), 1);