From 80d9aa13251f7f5c3d3eeaa877bc79dac4435341 Mon Sep 17 00:00:00 2001 From: salmonik Date: Thu, 29 Oct 2026 23:08:25 +0100 Subject: PLN changed to Kromer --- tests/crash.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/crash.rs') diff --git a/tests/crash.rs b/tests/crash.rs index 49eaf89..c985ebe 100644 --- a/tests/crash.rs +++ b/tests/crash.rs @@ -2,8 +2,8 @@ use std::time::Duration; use zagan_bet::crash::{ - crash_point_from_uniform, multiplier_at, multiplier_at_secs, payout, time_for_multiplier, - HOUSE_EDGE, MAX_MULTIPLIER, + HOUSE_EDGE, MAX_MULTIPLIER, crash_point_from_uniform, multiplier_at, multiplier_at_secs, + payout, time_for_multiplier, }; fn close(a: f64, b: f64, tolerance: f64) { @@ -38,9 +38,9 @@ fn the_time_for_a_multiplier_is_the_inverse_of_the_curve() { } #[test] -fn cashout_value_is_floored_to_whole_pln() { +fn cashout_value_is_floored_to_whole_Kr() { assert_eq!(payout(10, 1.0), 10); - assert_eq!(payout(10, 1.05), 10, "half a PLN is not paid out"); + assert_eq!(payout(10, 1.05), 10, "half a Kr is not paid out"); assert_eq!(payout(10, 1.10), 11); assert_eq!(payout(10, 2.47), 24); assert_eq!(payout(7, 3.0), 21); -- cgit v1.2.3