Searched refs:raise_explicit (Results 1 – 1 of 1) sorted by relevance
135 pub fn raise_explicit(&mut self, amount: u8) -> Result<(), Error> { in raise_explicit() method299 assert!(level.raise_explicit(100).is_ok()); in test_raise_explicit()301 assert!(level.raise_explicit(25).is_ok()); in test_raise_explicit()303 assert!(level.raise_explicit(1).is_err()); // invalid! in test_raise_explicit()304 assert!(level.raise_explicit(250).is_err()); // overflow! in test_raise_explicit()