Add more state objects.

This commit is contained in:
Michael Mikovsky
2026-05-31 14:47:25 -06:00
parent b2e2523860
commit 966f16008b
10 changed files with 200 additions and 15 deletions
+20
View File
@@ -0,0 +1,20 @@
macro_rules! hashtest {
($input:tt) => {
($input, unshell::hash_32!($input))
};
}
const MAP: [(&str, u32); 6] = [
hashtest!("abc123"),
hashtest!("abc124"),
hashtest!("abc125"),
hashtest!("abc122"),
hashtest!("somethingelse"),
hashtest!("org.io.abc1234"),
];
pub fn main() {
for (a, b) in MAP {
println!("unshell::hash_32!(\"{}\") = {}", a, b)
}
}