fn allocate_and_use_10_ports() {
        assert_eq!(
            allocate_ports("127.0.0.1", 10)
                .unwrap()
                .iter()
                .map(listen_helper)
                .filter(|listen_result| listen_result.is_err())
                .count(),
            0
        )
    }
// Allocate 10 ports from the allocator
// listen on the ports in the same process
Allocate 10 ports from the allocator
listen on the ports in the same process
Allocate 10 ports from the allocator listen on the ports in the same process
fn allocate_and_use_10_ports() {
        assert_eq!(
            allocate_ports("127.0.0.1", 10)
                .unwrap()
                .iter()
                .map(listen_helper)
                .filter(|listen_result| listen_result.is_err())
                .count(),
            0
        )
    }
fn allocate_and_use_10_ports ( ) { assert_eq ! ( allocate_ports ( " " 10 ) unwrap ( ) iter ( ) map ( listen_helper ) filter ( listen_result listen_result is_err ( ) ) count ( ) 0 ) }
Allocate 10 ports from the allocator
listen on the ports in the same process
Allocate 10 ports from the allocator listen on the ports in the same process