diff options
author | Brian Warner <warner@lothar.com> | 2017-05-06 01:25:23 -0700 |
---|---|---|
committer | Brian Warner <warner@lothar.com> | 2017-05-06 01:25:23 -0700 |
commit | 48fa27649f1cfeb27a1beffd2d28b8a746b4c558 (patch) | |
tree | 0ae7a5d0e4b8bf62bc1f21d5b6c6bb53b422f62d /src/lib.rs | |
download | PAKEs-48fa27649f1cfeb27a1beffd2d28b8a746b4c558.tar.xz |
initial sketches, help from hdevalence
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..abab8b1 --- /dev/null +++ b/src/lib.rs @@ -0,0 +1,22 @@ + +pub mod spake2; +//use spake2::*; + +#[cfg(test)] +mod tests { + use spake2; + #[test] + fn test_foo() { + assert_eq!(spake2::foo(), 1); + } + + #[test] + fn it_works() { + } + + #[test] + #[should_panic(expected = "nope")] + fn it_panics() { + assert!(false, "nope"); + } +} |