From f47f7095c6226dce9d86667140fb09ad17f9b274 Mon Sep 17 00:00:00 2001 From: Michael Vlach Date: Tue, 20 Sep 2022 09:28:07 +0200 Subject: [PATCH] [graph] Add GraphEdge struct #233 (#234) * Create graph_edge.rs * Update graph.rs --- src/graph.rs | 1 + src/graph/graph_edge.rs | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 src/graph/graph_edge.rs diff --git a/src/graph.rs b/src/graph.rs index c31b748ca..d48da2175 100644 --- a/src/graph.rs +++ b/src/graph.rs @@ -1,3 +1,4 @@ +mod graph_edge; mod graph_element; mod graph_node; diff --git a/src/graph/graph_edge.rs b/src/graph/graph_edge.rs new file mode 100644 index 000000000..18c7ff496 --- /dev/null +++ b/src/graph/graph_edge.rs @@ -0,0 +1,12 @@ +#[allow(dead_code)] +pub(crate) struct GraphEdge {} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn new() { + let _edge = GraphEdge {}; + } +}