Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

"Piastrelle" Algolab project... in rust 🦀.

Notifications You must be signed in to change notification settings

Favo02-unimi/algolab-piastrelle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Progetto "Piastrelle" di AlgoLab

Progetto "Piastrelle" del corso di Algoritmi e Strutture Dati... in rust 🦀.

Build, Run and Test

  • Run/Build:

    • debug run: cargo run < yourinput.txt (slow!)
    • optimized run: cargo build --release, ./target/release/piastrelle < yourinput.txt
  • Test:

    • all tests: cargo test --release
    • unit tests: cargo test --release unit_tests
    • input/output tests: cargo test --release io_tests (tests all inputs in inputs/)
  • Clean:

    • format code: cargo fmt
    • check code (best practices, ...): cargo clippy --all-targets --all-features -- -D warnings
    • remove all old artifacts (compiled binaries, ...): cargo clean

About

"Piastrelle" Algolab project... in rust 🦀.

Resources

Stars

Watchers

Forks