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

Function test_total_tokens

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

Source from the content-addressed store, hash-verified

1069
1070 #[test]
1071 fn test_total_tokens() {
1072 let a = make_attestation();
1073 // sonnet: 176 + 8400 + 526900 + 13100 = 548576
1074 // haiku: 9400 + 403 + 0 + 0 = 9803
1075 assert_eq!(a.total_tokens(), 548_576 + 9_803);
1076 }
1077
1078 #[test]
1079 fn test_used_tokens() {

Callers

nothing calls this directly

Calls 1

make_attestationFunction · 0.85

Tested by

no test coverage detected