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: read_tests.rs
    path of file: ./repos/shapefile-rs/tests
    
    the code of the file until where you have to start completion: extern crate shapefile;

use std::io::Cursor;
use std::io::Read;
use std::io::Seek;
use std::io::SeekFrom;

mod testfiles;

use shapefile::{Multipatch, Patc
    
fn check_point<T: Read + Seek>(reader: shapefile::ShapeReader<T>) {
    {
        let header = reader.header();
        assert_eq!(header.file_length, 64);
        assert_eq!(header.shape_type, shapefile::ShapeType::Point);
        assert_eq!(header.bbox.min, PointZ::new(122.0, 37.0, 0.0, 0.0));
        assert_eq!(header.bbox.max, PointZ::new(122.0, 37.0, 0.0, 0.0));
    }
    let shapes = reader.read().unwrap();
    assert_eq!(shapes.len(), 1, "Wrong number of shapes");

    let points = shapefile::record::convert_shapes_to_vec_of::<Point>(shapes).unwrap();
    assert_eq!(points.len(), 1, "Wrong number of points");

    check_first_point(&points[0]);
}