https://github.com/michael2012z/algorithms
https://github.com/michael2012z/algorithms
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/michael2012z/algorithms
- Owner: michael2012z
- License: mit
- Created: 2022-11-11T11:35:00.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-24T14:53:44.000Z (about 3 years ago)
- Last Synced: 2025-03-13T21:19:49.876Z (over 1 year ago)
- Language: Rust
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# algorithms
## Usage
Run the test of all algorithm packages:
```shell
cargo test --workspace -- --show-output
```
Run the test of single package:
```shell
cargo test --package "sort" -- --show-output
```
Run the test of a package and generate `.dot` file for `Graphviz`:
```shell
cargo test --package "sort" --features graph -- --show-output
```
Run a specified test case:
```shell
cargo test --package "sort" test_bubble_sort_simple --features graph -- --show-output
```