SatHtml {
sat: Sat::LAST,
satpoint: None,
blocktime: Blocktime::confirmed(0),
inscriptions: Vec::new(),
},
r"<h1>Sat 2099999997689999</h1>.*<a class=prev href=/sat/2099999997689998>prev</a>\nnext.*",
);
}
#[test]
fn sat_with_satpoint() {
assert_regex_match!(
SatHtml {
sat: Sat(0),
satpoint: Some(satpoint(1, 0)),
blocktime: Blocktime::confirmed(0),
inscriptions: Vec::new(),
},
"<h1>Sat 0</h1>.*<dt>location</dt><dd class=monospace>1{64}:1:0</dd>.*",
);
}
}