()
| 956 | |
| 957 | #[test] |
| 958 | fn test_remote_delta_into_pull_delta() { |
| 959 | let mut delta = RemoteDelta::in_sync(); |
| 960 | delta.to_download.push(Node::change("A", "S0")); |
| 961 | delta.to_download.push(Node::change("B", "S1")); |
| 962 | |
| 963 | let pull = delta.into_pull_delta(Some(StateResponse::empty())); |
| 964 | assert_eq!(pull.download_count(), 2); |
| 965 | } |
| 966 | |
| 967 | #[test] |
| 968 | fn test_remote_delta_into_push_delta_filters_known() { |
nothing calls this directly
no test coverage detected