Skip to main content

assert_snapshot

Function assert_snapshot 

Source
pub fn assert_snapshot(snapshot_dir: &Path, name: &str, pdf_bytes: &[u8])
Expand description

check_snapshot with DEFAULT_DPI/DEFAULT_TOLERANCE, panicking with a descriptive message on any failure — the usual entry point from a #[test] function.