Restructured a bit

This commit is contained in:
Igor Katson 2021-06-27 09:09:55 +01:00
parent 7fc41fd953
commit 0bd3f95891
2 changed files with 86 additions and 124 deletions

View file

@ -130,16 +130,3 @@ fn main() -> anyhow::Result<()> {
Ok(())
})
}
#[cfg(test)]
mod tests {
use std::{fs::File, io::Read};
#[test]
fn test_bullshit() {
let mut buf = vec![0u8; 65536];
let mut f =
File::open("/tmp/torrent-download/08.Comedy.Club.S17.WEB-DL.1080p.7turza.mkv").unwrap();
f.read_exact(&mut buf[..]).unwrap();
}
}