.parse::() .unwrap(); assert_eq!(inscription_id.store(), (0, 0, 1)); assert_eq!(InscriptionId::load((0, 0, 1)), inscription_id); let inscription_id = "0000000000000000000000000000000000000000000000000000000000000000i256" .parse::() .unwrap(); assert_eq!(inscription_id.store(), (0, 0, 256)); assert_eq!(InscriptionId::load((0, 0, 256)), inscription_id); } #[test] fn rune_entry() { let entry = RuneEntry { burned: 1, divisibility: 2, end: Some(3), etching: Txid::from_byte_array([ 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, ]), limit: Some(4), number: 5, rune: Rune(6), supply: 7, symbol: Some('a'), timestamp: 6, }; let value = ( 1, 2, Some(3), ( 0x0F0E0D0C0B0A09080706050403020100,