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]
|
||||
fn it_works() {}
|
||||
|
||||
#[test]
|
||||
fn test_connect() {
|
||||
fn simple_connect() {
|
||||
let v1 = SimpleVertex { id: 0 };
|
||||
let v2 = SimpleVertex { id: 1 };
|
||||
let mut g = SimpleGraph {
|
||||
|
|
@ -78,7 +75,7 @@ fn test_connect() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
fn test_disconnect() {
|
||||
fn simple_disconnect() {
|
||||
let v1 = SimpleVertex { id: 0 };
|
||||
let v2 = SimpleVertex { id: 1 };
|
||||
let mut g = SimpleGraph {
|
||||
|
|
@ -96,6 +93,6 @@ fn test_disconnect() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
fn test_degree() {
|
||||
fn simple_degree() {
|
||||
todo!()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue