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

Function default_creates_init_state

clock-bound/src/daemon/selected_clock.rs:185–191  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

183
184 #[test]
185 fn default_creates_init_state() {
186 let clock = SelectedClockSource::default();
187 let (source, stratum) = clock.get();
188
189 assert_eq!(source, ClockSource::Init);
190 assert_eq!(stratum, Stratum::Unspecified);
191 }
192
193 #[rstest]
194 #[case(ClockSource::Init, Stratum::Unspecified)]

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected