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

Function test_remote_state_entries_from_past_end

atomic-remote/src/sync.rs:923–929  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

921
922 #[test]
923 fn test_remote_state_entries_from_past_end() {
924 let mut cache = RemoteState::empty();
925 cache.insert(0, Node::change("A", "S0"));
926
927 let result = cache.entries_from(5);
928 assert!(result.is_empty());
929 }
930
931 #[test]
932 fn test_remote_state_from_changelist() {

Callers

nothing calls this directly

Calls 3

changeFunction · 0.85
entries_fromMethod · 0.80
insertMethod · 0.45

Tested by

no test coverage detected