1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#[cfg(test)] mod tests { use bastion_executor::{placement, pool}; #[test] fn affinity_replacement() { let core_ids = placement::get_core_ids().unwrap(); dbg!(core_ids); } #[test] fn pool_check() { pool::get(); } }