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

Function testcase

src/sql/src/names.rs:2588–2592  ·  view source on GitHub ↗
(og: SchemaId)

Source from the content-addressed store, hash-verified

2586 #[mz_ore::test]
2587 fn proptest_schema_id_roundtrips() {
2588 fn testcase(og: SchemaId) {
2589 let s = og.to_string();
2590 let rnd: SchemaId = s.parse().unwrap();
2591 assert_eq!(og, rnd);
2592 }
2593
2594 proptest!(|(id in any::<SchemaId>())| {
2595 testcase(id);

Callers

nothing calls this directly

Calls 3

unwrapMethod · 0.80
to_stringMethod · 0.45
parseMethod · 0.45

Tested by

no test coverage detected