-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(tests): remove
test_
prefix in tests
- Loading branch information
1 parent
1628bd2
commit 38c9523
Showing
4 changed files
with
23 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
use pathfinding::directed::cycle_detection::*; | ||
|
||
#[test] | ||
fn test_floyd() { | ||
fn floyd_works() { | ||
assert_eq!(floyd(-10, |x| (x + 5) % 6 + 3), (3, 6, 2)); | ||
} | ||
|
||
#[test] | ||
fn test_brent() { | ||
fn brent_works() { | ||
assert_eq!(brent(-10, |x| (x + 5) % 6 + 3), (3, 6, 2)); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters