refactor rectangles to have lib.rs to allow integration tests

This commit is contained in:
laurens 2020-09-13 20:04:26 +02:00
parent e7f8215de9
commit 438063ac6b
3 changed files with 129 additions and 133 deletions

View file

@ -0,0 +1,6 @@
use rectangles::Rectangle;
#[test]
fn integration_tests_works() {
let rect = Rectangle::build_rectangle(1, 1);
}