Home
last modified time | relevance | path

Searched refs:raise_explicit (Results 1 – 1 of 1) sorted by relevance

/external/rust/crates/unicode-bidi/src/
Dlevel.rs135 pub fn raise_explicit(&mut self, amount: u8) -> Result<(), Error> { in raise_explicit() method
299 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()