22 lines
713 B
Diff
22 lines
713 B
Diff
--- src/icm/lage.rs
|
|
+++ replace Turnierlage::players -> usize with 0
|
|
@@ -11,17 +11,17 @@
|
|
pub ante: f64,
|
|
/// Blind level (informational).
|
|
pub level: u32,
|
|
}
|
|
|
|
impl Turnierlage {
|
|
/// Players in the field who still have chips.
|
|
pub fn players(&self) -> usize {
|
|
- self.stacks.len()
|
|
+ 0 /* ~ changed by cargo-mutants ~ */
|
|
}
|
|
|
|
/// Every number finite, stacks positive, payouts non-negative with a positive sum, hero
|
|
/// inside the field, field no larger than `harville::MAX_FIELD`.
|
|
pub fn is_usable(&self) -> bool {
|
|
!self.payouts.is_empty()
|
|
&& self.hero < self.stacks.len()
|
|
&& self.stacks.len() <= super::harville::MAX_FIELD
|