1
0
Fork 0
forked from wry/wry

all: split reusable components into workspace crates

This commit is contained in:
kossLAN 2026-05-29 09:14:53 -04:00
parent 2a079ed800
commit 657e7ce2f7
No known key found for this signature in database
225 changed files with 7422 additions and 17602 deletions

12
utils/src/opaque/tests.rs Normal file
View file

@ -0,0 +1,12 @@
use {
crate::opaque::{Opaque, opaque},
std::str::FromStr,
};
#[test]
fn roundtrip() {
let v1 = opaque();
let s = v1.to_string();
let v2 = Opaque::from_str(&s).unwrap();
assert_eq!(v1, v2);
}