From 47d6c82a4943b1e804d062780b8e05f1e42f27b0 Mon Sep 17 00:00:00 2001 From: salmonik Date: Wed, 28 Oct 2026 22:46:47 +0100 Subject: v0.3.1: clean up dependencies, stale tests and document verification --- tests/slots.rs | 8 ++++---- tests/tofu.rs | 4 ---- 2 files changed, 4 insertions(+), 8 deletions(-) (limited to 'tests') diff --git a/tests/slots.rs b/tests/slots.rs index df4af28..3035800 100644 --- a/tests/slots.rs +++ b/tests/slots.rs @@ -11,9 +11,9 @@ fn make_game() -> SlotsGame { #[test] fn three_of_a_kind_pays() { let game = make_game(); - // CCC = 5x + // CCC = 2x assert_eq!(game.calculate_payout(&['C', 'C', 'C'], 100), 200); - // SSS = 100x + // SSS = 28x assert_eq!(game.calculate_payout(&['S', 'S', 'S'], 10), 280); } @@ -21,9 +21,9 @@ fn three_of_a_kind_pays() { #[test] fn two_adjacent_pays() { let game = make_game(); - // CC? = 2x + // CC? = 1x assert_eq!(game.calculate_payout(&['C', 'C', 'D'], 100), 100); - // ?LL = 3x + // ?LL = 1x assert_eq!(game.calculate_payout(&['D', 'L', 'L'], 50), 50); } diff --git a/tests/tofu.rs b/tests/tofu.rs index 359c192..4f59d6d 100644 --- a/tests/tofu.rs +++ b/tests/tofu.rs @@ -1,8 +1,4 @@ //! TOFU trust tests. -//! -//! These pin the not-yet-implemented TOFU behavior: every test here is -//! expected to FAIL until the corresponding feature lands in `src/tofu.rs` -//! and the client storage layer. use std::path::PathBuf; use std::process::Command; -- cgit v1.2.3