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

Function test_rank_score_decreases

atomic-cli/src/commands/vault/context.rs:1110–1114  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1108
1109 #[test]
1110 fn test_rank_score_decreases() {
1111 assert!(rank_score(0) > rank_score(1));
1112 assert!(rank_score(1) > rank_score(5));
1113 assert_eq!(rank_score(0), 1.0);
1114 }
1115
1116 #[test]
1117 fn test_recency_score_fresh_vs_old() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected