use lucet_module::VersionInfo;
#[test]
fn version_equality() {
let precise = VersionInfo::new(0, 1, 2, [0x61, 0x61, 0x61, 0x61, 0x61, 0x61, 0x61, 0x61]);
let imprecise = VersionInfo::new(0, 1, 2, [0, 0, 0, 0, 0, 0, 0, 0]);
assert_ne!(precise, imprecise);
assert!(imprecise.compatible_with(&precise));
assert!(!precise.compatible_with(&imprecise));
}