Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions src/main.rs

This file was deleted.

14 changes: 14 additions & 0 deletions src/tests.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
extern crate base64;
extern crate ring;

mod string_encryption_key_based_symmetric;

#[cfg(test)]
mod tests {
#[test]
fn test_tring_encryption_key_based_symmetric() {
// This test runs all the examples to ensure that they compile and work.
::string_encryption_key_based_symmetric::main();
// TODO check program output contains a line stating that the encryption and decryption worked
}
}