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: ortho_camera.rs
    path of file: ./repos/amethyst/amethyst_utils/src
    
    the code of the file until where you have to start completion: //! Provides a automatically resized orthographic camera.

use amethyst_core::{
    ecs::{IntoQuery, Runnable, SystemBuilder, Write},
    Axis2,
};
use amethyst_rendy::camera::Camera;
use amethyst_window::ScreenDimensions;
use derive_new::new;
use serde::{Deserialize, Serialize};
#[cfg(feature = "profiler")]
use thread_profiler::profile_scope;

/// The coordinates that `CameraOrt
    
    fn near_far_from_camera() {
        use amethyst_core::cgmath::{Ortho, Matrix4};
        let mat4 = Matrix4::from(Ortho {
            left: 0.0,
            right: 1.0,
            bottom: 0.0,
            top: 1.0,
            near: 0.1,
            far: 2000.0,
        });
        let x = mat4.z.z; // c2r2
        let y = mat4.w.z; // c3r2
        let near = (y + 1.0) / x;
        let far = (x - 1.0) / y;
        assert_ulps_eq!((near as f32 * 100.0).round() / 100.0, 0.1);
        assert_ulps_eq!((far as f32 * 100.0).round() / 100.0, 2000.0);
    }*/