aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs22
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");
+ }
+}