//! The hub's constants: the coalescing window and the state spellings Swift //! reads. use super::*; #[test] fn the_coalescing_window_is_derived_from_the_ceiling_rather_than_written_twice() { assert_eq!(TERMINAL_MAX_EVENTS_PER_SECOND, 30); assert_eq!(TERMINAL_COALESCE_MS, 33); assert_eq!(TERMINAL_PATH, "/v1/sessions/attach"); } #[test] fn the_three_states_have_the_spellings_swift_reads() { assert_eq!(TerminalState::Attached.as_str(), "attached"); assert_eq!(TerminalState::CatchingUp.as_str(), "catchingUp"); assert_eq!(TerminalState::Closed.as_str(), "closed"); }