1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
extern crate glutin;
extern crate gl;

#[cfg(test)]
mod tests {
    extern crate glutin;
    extern crate gl;

    #[test]
    fn it_works() {
        glutin::EventsLoop::new();
        println!("rug2d: test version sucessfully executed (from tests::it_works()).");
        assert_eq!(2 + 2, 4);
    }
}

pub fn info() {
    glutin::EventsLoop::new();
    println!("rug2d: test version sucessfully executed.")
}