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

Function test_model_usage_new

atomic-core/src/change/attestation.rs:1349–1353  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1347
1348 #[test]
1349 fn test_model_usage_new() {
1350 let m = ModelUsage::new("claude-sonnet-4-5");
1351 assert_eq!(m.model, "claude-sonnet-4-5");
1352 assert_eq!(m.total_tokens(), 0);
1353 }
1354
1355 #[test]
1356 fn test_model_usage_builder() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected