10 lines
181 B
Rust
10 lines
181 B
Rust
|
use crate::{brute_force, Config};
|
||
|
|
||
|
#[test]
|
||
|
#[should_panic]
|
||
|
fn propagate_panics() {
|
||
|
brute_force(Config::default(), |_: &mut u8| -> Option<()> {
|
||
|
panic!("Test");
|
||
|
});
|
||
|
}
|