summaryrefslogtreecommitdiff
path: root/test/rust-from-c/foo/foo_test.rs
blob: 8b5de77f9b39f51d520cd0d0c1f8985b1df90149 (plain)
1
2
3
4
5
6
7
8
9
10
11
extern crate foo;

#[cfg(test)]
mod tests {
    use super::*;

    #[test]
    fn test_foo(){
       assert_eq!(foo::foo(-7),7);
    }
}