change test_* to simple_*
This commit is contained in:
parent
68b80f5b98
commit
940f244aaf
1 changed files with 3 additions and 6 deletions
|
|
@ -60,10 +60,7 @@ impl<'a> Graph<SimpleVertex, SimpleEdge> for SimpleGraph {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn it_works() {}
|
fn simple_connect() {
|
||||||
|
|
||||||
#[test]
|
|
||||||
fn test_connect() {
|
|
||||||
let v1 = SimpleVertex { id: 0 };
|
let v1 = SimpleVertex { id: 0 };
|
||||||
let v2 = SimpleVertex { id: 1 };
|
let v2 = SimpleVertex { id: 1 };
|
||||||
let mut g = SimpleGraph {
|
let mut g = SimpleGraph {
|
||||||
|
|
@ -78,7 +75,7 @@ fn test_connect() {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_disconnect() {
|
fn simple_disconnect() {
|
||||||
let v1 = SimpleVertex { id: 0 };
|
let v1 = SimpleVertex { id: 0 };
|
||||||
let v2 = SimpleVertex { id: 1 };
|
let v2 = SimpleVertex { id: 1 };
|
||||||
let mut g = SimpleGraph {
|
let mut g = SimpleGraph {
|
||||||
|
|
@ -96,6 +93,6 @@ fn test_disconnect() {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_degree() {
|
fn simple_degree() {
|
||||||
todo!()
|
todo!()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue