aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
blob: b972f4bfdd5a71061afada4539024872ddff23c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

extern crate rand;
extern crate curve25519_dalek;

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");
    }
}