Macro unit::assert_contains

source ·
macro_rules! assert_contains {
    ($description:expr,$items:expr,$v:expr) => { ... };
}
Expand description

Check if a value contains an another

  • description The unit description
  • items A vector contening all expected values
  • v The actual value to check if contains data