You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: transport_layer_nack_test.rs
    path of file: ./repos/webrtc/rtcp/src/transport_feedbacks/transport_layer_nack
    
    the code of the file until where you have to start completion: use std::sync::{Arc, Mutex};

use bytes::Bytes;

use super::*;

#[test]
fn test_transport_layer_nack_unmarshal() {
    let tests = vec![
        (
            "valid",
            Bytes::from_static(&[
                // TransportLayerNack
                0x81, 0xcd, 0x0, 0x3, // sender=0x902f9e2e
                0x90, 0x2f, 0x9e, 0x2e, // media=0x902f9e2e
                0x90, 0x2f, 0x9e, 0x2e, // nack 0xAAAA, 0x5555
                0xaa, 0xaa, 0x55, 0x55,
            ]),
            TransportLayerNack {
                sender_ssrc:
    
fn test_nack_pair_range() {
    let n = NackPair {
        packet_id: 42,
        lost_packets: 2,
    };

    let out = Arc::new(Mutex::new(vec![]));
    let out1 = Arc::clone(&out);
    n.range(move |s: u16| -> bool {
        let out2 = Arc::clone(&out1);
        let mut o = out2.lock().unwrap();
        o.push(s);
        true
    });

    {
        let o = out.lock().unwrap();
        assert_eq!(*o, &[42, 44]);
    }

    let out = Arc::new(Mutex::new(vec![]));
    let out1 = Arc::clone(&out);
    n.range(move |s: u16| -> bool {
        let out2 = Arc::clone(&out1);
        let mut o = out2.lock().unwrap();
        o.push(s);
        false
    });

    {
        let o = out.lock().unwrap();
        assert_eq!(*o, &[42]);
    }
}