![](/_next/image?url=%2Fimages%2Fgradient-top-bg.png&w=1920&q=75)
} #[test] fn from_str_number() { assert_eq!(parse("0").unwrap(), 0); assert_eq!(parse("2099999997689999").unwrap(), 2099999997689999); assert!(parse("2099999997690000").is_err()); } #[test] fn from_str_degree_invalid_cycle_number() { assert!(parse("5°0′0″0‴").is_ok()); assert!(parse("6°0′0″0‴").is_err()); } #[test] fn from_str_degree_invalid_epoch_offset() { assert!(parse("0°209999′335″0‴").is_ok()); assert!(parse("0°210000′336″0‴").is_err()); } #[test] fn from_str_degree_invalid_period_offset() { assert!(parse("0°2015′2015″0‴").is_ok()); assert!(parse("0°2016′2016″0‴").is_err()); } #[test] fn from_str_degree_invalid_block_offset() { assert!(parse("0°0′0″4999999999‴").is_ok()); assert!(parse("0°0′0″5000000000‴").is_err()); assert!(parse("0°209999′335″4999999999‴").is_ok()); assert!(parse("0°0′336″4999999999‴").is_err()); } #[test] fn from_str_degree_invalid_period_block_relationship() { assert!(parse("0°2015′2015″0‴").is_ok());
Inscription #44975358
Collection
Ord
Owner
bc1p85g58t...qmlsqu56lcID
7792a2afc9...854cf140i0
Detail
History
Sign Up for our Newsletter
And be the first to know about any updates!