Adding tests

- functional tests
- more tests
- tests tests tests

Signed-off-by: teo3300 <matteo.rogora@live.it>
This commit is contained in:
teo3300
2023-11-26 19:48:54 +09:00
parent 1f47c9f57e
commit 83e45334a5
7 changed files with 111 additions and 13 deletions

View File

@ -1 +0,0 @@
.git/hooks/pre-commit

13
.git_hooks_pre-commit-shadow Executable file
View File

@ -0,0 +1,13 @@
#!/usr/bin/env bash
# Quit when first command fails
set -e
# format code in a consistent way
cargo fmt
# yeet on any clippy warning
cargo clippy -- -Dwarnings
# check test pass
cargo test