This repository contains my solutions to Advent of Code.
# Running all solutions
$ cargo run --release -- all
# Running a particular solution
$ cargo run --release -- run <day> <part> [year] # day = XX, part = a / b, year = YYYY (optional: defaults to 2022)
Unit tests are written to check the solution against sample inputs provided for each part of a problem.
# Run all tests
$ cargo test
# Run tests for a particular day
$ cargo test day_XX
Year | Repo | Language |
---|---|---|
2022 | Advent-Of-Code-Rust | Rust |
Thanks Eric Wastl for creating and managing the Advent of Code project.