use assert2::check;
use enum_helper::EnumAll;
#[derive(EnumAll, Clone)]
#[enum_all(all(disable))]
#[allow(dead_code)]
enum Mixed {
Unit,
Tuple(usize),
Struct { x: usize },
}
#[test]
fn all_disable_allows_non_unit_count() {
check!(Mixed::COUNT == 3);
}