mirror of
https://github.com/urbit/ares.git
synced 2024-12-27 23:34:39 +03:00
Test tas!()
This commit is contained in:
parent
d072c3ecea
commit
f41cf8cc38
@ -6,3 +6,14 @@ pub mod mem;
|
||||
pub mod mug;
|
||||
pub mod noun;
|
||||
pub mod serialization;
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
|
||||
#[test]
|
||||
fn tas() {
|
||||
use ares_macros::tas;
|
||||
assert_eq!(tas!(b"cut"), 0x747563);
|
||||
assert_eq!(tas!(b"dec"), 0x636564);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user