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

Function test_context_new

atomic-core/src/record/workflow/assembly/tests.rs:200–205  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

198
199#[test]
200fn test_context_new() {
201 let header = ChangeHeader::builder().message("Test").build();
202 let ctx = AssemblyContext::new(header);
203 assert_eq!(ctx.hunk_count(), 0);
204 assert_eq!(ctx.dependency_count(), 0);
205}
206
207#[test]
208fn test_context_with_capacity() {

Callers

nothing calls this directly

Calls 2

buildMethod · 0.45
messageMethod · 0.45

Tested by

no test coverage detected