snapshot tests

This commit is contained in:
Robin Appelman 2023-03-16 22:40:48 +01:00
commit fbe3eee614
8 changed files with 1603 additions and 5 deletions

View file

@ -190,6 +190,12 @@ impl<T: PartialEq> PartialEq for ClassMap<T> {
}
}
impl<T> From<ClassMap<T>> for [T; 10] {
fn from(value: ClassMap<T>) -> Self {
value.0
}
}
/// Optimized subject id
#[derive(Copy, Clone, Eq, PartialEq, Debug, Ord, PartialOrd, Hash)]
pub enum SubjectId {