Skip to content

mvasigh/advent-of-code-2021

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

59 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ„ AoC '21

My solutions for Advent of Code 2021 :)

Running the tests

Some days will be in Rust, some in TypeScript, and some in both.

To run everything:

sh ./test.sh

To run tests for a specific day using the shell script, you can pass the day as an argument:

sh ./test.sh 7 # Runs Day 7 tests

To run the Rust solutions, make sure you have Rust and Cargo installed and run:

cargo test part -- --nocapture --test-threads=1

To run the TypeScript solutions, make sure you have Deno installed and run:

deno test -A --filter="/Day \d+, Part \d+/"