MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_record_builder_new

Function test_record_builder_new

atomic-core/src/record/builder.rs:623–628  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

621
622 #[test]
623 fn test_record_builder_new() {
624 let builder = RecordBuilder::new();
625 assert!(builder.is_empty());
626 assert_eq!(builder.hunk_count(), 0);
627 assert_eq!(builder.contents_len(), 0);
628 }
629
630 #[test]
631 fn test_record_builder_with_capacity() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected