MCPcopy Create free account
hub / github.com/aws/clock-bound / duration_debug

Function duration_debug

clock-bound/src/daemon/time/inner.rs:1017–1019  ·  view source on GitHub ↗
(#[case] duration: Duration, #[case] expected: &str)

Source from the content-addressed store, hash-verified

1015
1016 // Set up expectations for clock2: single read 195
1017 mock_clock2
1018 .expect_get_time()
1019 .times(1)
1020 .returning(|| Time::new(195));
1021
1022 // Test the get_offset_and_rtt method

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected