orx-split-vec 3.22.0

An efficient dynamic capacity vector with pinned element guarantees.
Documentation
/// Executes and tests the function for different growth strategies.
#[macro_export]
#[cfg(test)]
macro_rules! test_all_growth_types {
    ($fun:tt) => {
        $fun::<$crate::Linear>(SplitVec::with_linear_growth(8));
        $fun::<$crate::Doubling>(SplitVec::with_doubling_growth());
        $fun::<$crate::Recursive>(SplitVec::with_recursive_growth());
    };
}

#[cfg(test)]
#[derive(Debug, PartialEq, Clone)]
pub struct Num(usize);
impl Num {
    pub fn new(number: usize) -> Self {
        Self(number)
    }
}