Refactored tests/ and added test for VideoSubsys

This commit is contained in:
Cobrand
2017-05-02 09:03:02 +02:00
parent f1eea15e00
commit 40a373c5ea
6 changed files with 14 additions and 8 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ impl AudioCallback for Sound {
fn main() {
let wav_file : Cow<'static, Path> = match std::env::args().nth(1) {
None => Cow::from(Path::new("./tests/sine.wav")),
None => Cow::from(Path::new("./assets/sine.wav")),
Some(s) => Cow::from(PathBuf::from(s))
};
let sdl_context = sdl2::init().unwrap();