summaryrefslogtreecommitdiff
path: root/examples/15-imports/output/rust/src/lib.rs
blob: ffbcbf4bcd9b926513cd1cac16b3c88133fd1fd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
mod line;
mod point;

#[cfg(test)]
mod test {
    use super::line::Line;
    use super::point::Point;

    #[test]
    fn can_construct_line() {
        let start = Point { x: 10, y: 25 };
        let end = Point { x: 10, y: 25 };
        let line = Line { start, end };
    }
}