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: dense_object_grid_2d.rs
    path of file: ./repos/krABMaga/tests/engine/parallel
    
    the code of the file until where you have to start completion: #[cfg(test)]
#[cfg(any(feature = "parallel"))]
static HEIGHT: i32 = 10;
#[cfg(any(feature = "parallel"))
    
fn dense_object_grid_2d_gets() {
    let mut grid: DenseGrid2D<Bird> = DenseGrid2D::new(WIDTH, HEIGHT);
    let mut rng = rand::thread_rng();

    let loc = Int2D {
        x: rng.gen_range(0..WIDTH),
        y: rng.gen_range(0..HEIGHT),
    };
    let no_bird = grid.get_objects(&loc);
    assert!(None == no_bird);

    let bird1 = Bird::new(0, Real2D { x: 0., y: 0. }, Real2D { x: 0., y: 0. });
    grid.set_object_location(bird1, &loc);

    let bird = grid.get_objects_unbuffered(&loc);
    assert!(None != bird);
    assert_eq!(bird.unwrap()[0].id, bird1.id);
    let no_bird = grid.get_objects(&loc);
    assert!(None == no_bird);
    let no_bird = grid.get(&bird1);
    assert!(None == no_bird);

    let get_loc = grid.get_location_unbuffered(bird1);
    assert!(None != get_loc);
    assert_eq!(get_loc.unwrap().x, loc.x);
    assert_eq!(get_loc.unwrap().y, loc.y);
    let no_loc = grid.get_location(bird1);
    assert!(None == no_loc);
    grid.update();

    let bird = grid.get_objects(&loc);
    assert!(None != bird);
    assert_eq!(bird.unwrap()[0].id, bird1.id);
    let bird = grid.get(&bird1);
    assert!(None != bird);
    assert_eq!(bird.unwrap().id, bird1.id);

    //-----
    grid.remove_object(&bird1);
    grid.lazy_update();

    let no_bird = grid.get_objects_unbuffered(&loc);
    assert!(None == no_bird);
    let no_bird = grid.get_objects(&loc);
    assert!(None == no_bird);
    let no_bird = grid.get(&bird1);
    assert!(None == no_bird);
}