cleanup: move test files to their own directory

This commit is contained in:
Xory 2024-06-10 11:02:50 +03:00
parent 2edb74ab27
commit 363a39c26e
5 changed files with 3 additions and 5 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
/target
/testfiles

View file

@ -1 +0,0 @@
cats would rule the world better than humans

View file

@ -1 +0,0 @@
ł¶Îí޶ńNzN˙®<CB99>Ŕ˙=)|ŕچÔ'ÝVéđPŔNŚz…†Rć´˝

View file

@ -1 +0,0 @@
cats would rule the world better than humans

View file

@ -3,6 +3,6 @@ use crypto::{encrypt_file, decrypt_file};
fn main() {
println!("Hello, world!");
encrypt_file("meow.txt", "meow.enc").unwrap();
decrypt_file("meow.enc", "meow.dec.text").unwrap();
encrypt_file("testfiles/meow.txt", "testfiles/meow.enc").unwrap();
decrypt_file("testfiles/meow.enc", "testfiles/meow.dec.text").unwrap();
}