#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum OwlClassType {
Class,
Datatype,
Thing,
Nothing,
Deprecated,
External,
}
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum OwlPropertyType {
ObjectProperty,
DatatypeProperty,
SubClassOf,
DisjointWith,
SetOperator,
}
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum SetOperator {
Union,
Intersection,
Complement,
DisjointUnion,
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn test_class_types() {
assert_ne!(OwlClassType::Class, OwlClassType::Thing);
assert_eq!(OwlClassType::Nothing, OwlClassType::Nothing);
}
#[test]
fn test_property_types() {
let prop = OwlPropertyType::ObjectProperty;
assert_eq!(prop, OwlPropertyType::ObjectProperty);
}
}