use cs_utils::traits::Random; use connection_utils::{test::{test_async_stream, TestOptions}, mocks::{ChannelMockOptions, channel_mock_pair}}; #[tokio::main] async fn main() { let (channel1, channel2) = channel_mock_pair( ChannelMockOptions::random(), ChannelMockOptions::random(), ); test_async_stream( channel1, channel2, TestOptions::random().with_data_len(5 * 4096), ).await; println!("> data transfer complete"); }