diff options
Diffstat (limited to 'test/rust-from-c/foo/foo_test.rs')
-rw-r--r-- | test/rust-from-c/foo/foo_test.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/rust-from-c/foo/foo_test.rs b/test/rust-from-c/foo/foo_test.rs new file mode 100644 index 0000000..8b5de77 --- /dev/null +++ b/test/rust-from-c/foo/foo_test.rs @@ -0,0 +1,11 @@ +extern crate foo; + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn test_foo(){ + assert_eq!(foo::foo(-7),7); + } +}
\ No newline at end of file |