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

#[cfg(test)]
mod test {
    use super::point::{Path, Point};

    #[test]
    fn can_create_path_directly() {
        let path: Path = Path {
            points: vec![
                Point { x: 10, y: 25 },
                Point { x: 25, y: 10 }
            ],
        };
    }
}