Skip to content

brpratt/advent-of-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

advent-of-code

Run

# for the days using Go
# example: go run -C ./2019/02 .
go run -C [path] .

# for the days using Python
# example: uv run ./2015/01/solution.py
uv run [path]

# for the days using AWK
# example: ./2022/01/solve.awk <./2022/01/input.txt
[path] <[input]

Test

Testing a single day

# for the days using Go
# example: go test ./2019/02 
go test [path]

# for the days using Python
# example: uv run -m unittest ./2015/01/solution_test.py
uv run -m unittest [path]

Testing all days

# for the years using Go
go test -timeout 30s ./...

# for the years using Python
uv run -m unittest discover -p "*_test.py"

About

Advent of Code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published