Skip to content

Commit

Permalink
[graph] Add GraphEdge struct #233 (#234)
Browse files Browse the repository at this point in the history
* Create graph_edge.rs

* Update graph.rs
  • Loading branch information
michaelvlach authored Sep 20, 2022
1 parent 89e2781 commit f47f709
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/graph.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
mod graph_edge;
mod graph_element;
mod graph_node;

Expand Down
12 changes: 12 additions & 0 deletions src/graph/graph_edge.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#[allow(dead_code)]
pub(crate) struct GraphEdge {}

#[cfg(test)]
mod tests {
use super::*;

#[test]
fn new() {
let _edge = GraphEdge {};
}
}

0 comments on commit f47f709

Please sign in to comment.