X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;ds=sidebyside;f=common%2Fsrc%2Flib.rs;fp=common%2Fsrc%2Flib.rs;h=5112279cd7c8426efda3f31f47b511e281ef3725;hb=1f84b22050cf470b00aef6b3c3ecb7ae70242e1a;hp=0000000000000000000000000000000000000000;hpb=295ca1daf01ff83964812c50fe1374dd679a0559;p=rup.git diff --git a/common/src/lib.rs b/common/src/lib.rs new file mode 100644 index 0000000..5112279 --- /dev/null +++ b/common/src/lib.rs @@ -0,0 +1,13 @@ + +fn f(a: i32, b: i32) -> i32 { + a + 2 * b +} + +mod tests { + use super::*; + + #[test] + fn it_works() { + assert_eq!(2 + 2, 4); + } +} \ No newline at end of file