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: tests.rs
    path of file: ./repos/tantivy/columnar/src/column_index/optional_index/set_block
    
    the code of the file until where you have to start completion: use std::collections::HashMap;

use crate::column_index::optional_index::set_block::dense::DENSE_BLOCK_NUM_BYTES;
use crate::column_index::optional_index::set_blo
    
fn test_simple_translate_codec_idx_to_original_idx_dense() {
    let mut buffer = Vec::new();
    DenseBlockCodec::serialize(0u16..150u16, &mut buffer).unwrap();
    let tested_set = DenseBlockCodec::open(buffer.as_slice());
    assert!(tested_set.contains(1));
    let mut select_cursor = tested_set.select_cursor();
    for i in 0..150 {
        assert_eq!(i, select_cursor.select(i));
    }
}