MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / test_case

Function test_case

src/sql-server-util/src/cdc.rs:825–830  ·  view source on GitHub ↗
(hex: &str)

Source from the content-addressed store, hash-verified

823 fn smoketest_lsn_roundtrips() {
824 #[track_caller]
825 fn test_case(hex: &str) {
826 let og = hex::decode(hex).unwrap();
827 let lsn = Lsn::try_from(&og[..]).unwrap();
828 let rnd = lsn.as_bytes();
829 assert_eq!(og[..], rnd[..]);
830 }
831
832 test_case("0000003D000019B80004");
833 test_case("0000003D000019F00011");

Callers 1

smoketest_lsn_roundtripsFunction · 0.70

Calls 5

unwrapMethod · 0.80
abbreviateMethod · 0.80
decodeFunction · 0.50
as_bytesMethod · 0.45
incrementMethod · 0.45

Tested by

no test coverage detected