jay-compositor 1.13.0

The Jay compositor
1
2
3
4
5
6
7
8
9
10
11
12
use {
    crate::utils::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);
}