Skip to content

πŸŽ„ My Advent of Code solutions πŸŽ…

Notifications You must be signed in to change notification settings

cicaleseandrea/advent-of-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ„ Advent of Code πŸŽ…

Stars Tests

My Advent of Code solutions in Java.

Stars 2023
Day 1 Day 2 Day 3 Day 4 Day 5
Day 6 Day 7 Day 8 Day 9 Day 10
Day 11 Day 12 Day 13 Day 14 Day 15
Day 16 Day 17 Day 18 Day 19 Day 20
Day 21 Day 22 Day 23 Day 24 Day 25
Stars 2022
Day 1 Day 2 Day 3 Day 4 Day 5
Day 6 Day 7 Day 8 Day 9 Day 10
Day 11 Day 12 Day 13 Day 14 Day 15
Day 16 Day 17 Day 18 Day 19 Day 20
Day 21 Day 22 Day 23 Day 24 Day 25
Stars 2021
Day 1 Day 2 Day 3 Day 4 Day 5
Day 6 Day 7 Day 8 Day 9 Day 10
Day 11 Day 12 Day 13 Day 14 Day 15
Day 16 Day 17 Day 18 Day 19 Day 20
Day 21 Day 22 Day 23 Day 24 Day 25
Stars 2020
Day 1 Day 2 Day 3 Day 4 Day 5
Day 6 Day 7 Day 8 Day 9 Day 10
Day 11 Day 12 Day 13 Day 14 Day 15
Day 16 Day 17 Day 18 Day 19 Day 20
Day 21 Day 22 Day 23 Day 24 Day 25
Stars 2019
Day 1 Day 2 Day 3 Day 4 Day 5
Day 6 Day 7 Day 8 Day 9 Day 10
Day 11 Day 12 Day 13 Day 14 Day 15
Day 16 Day 17 Day 18 Day 19 Day 20
Day 21 Day 22 Day 23 Day 24 Day 25
Stars 2018
Day 1 Day 2 Day 3 Day 4 Day 5
Day 6 Day 7 Day 8 Day 9 Day 10
Day 11 Day 12 Day 13 Day 14 Day 15
Day 16 Day 17 Day 18 Day 19 Day 20
Day 21 Day 22 Day 23 Day 24 Day 25
Stars 2017
Day 1 Day 2 Day 3 Day 4 Day 5
Day 6 Day 7 Day 8 Day 9 Day 10
Day 11 Day 12 Day 13 Day 14 Day 15
Day 16 Day 17 Day 18 Day 19 Day 20
Day 21 Day 22 Day 23 Day 24 Day 25
Stars 2016
Day 1 Day 2 Day 3 Day 4 Day 5
Day 6 Day 7 Day 8 Day 9 Day 10
Day 11 Day 12 Day 13 Day 14 Day 15
Day 16 Day 17 Day 18 Day 19 Day 20
Day 21 Day 22 Day 23 Day 24 Day 25
Stars 2015
Day 1 Day 2 Day 3 Day 4 Day 5
Day 6 Day 7 Day 8 Day 9 Day 10
Day 11 Day 12 Day 13 Day 14 Day 15
Day 16 Day 17 Day 18 Day 19 Day 20
Day 21 Day 22 Day 23 Day 24 Day 25

Goals

Requirements

You will need JDK 17.

By default the project will look for it in your JAVA_HOME.

You can also specify your own JDK path like this when using gradle:

./gradlew <command> -Dorg.gradle.java.home=/path/to/java17

Run Unit Tests

Run all tests:

./gradlew clean test

Run a specific year:

./gradlew clean test --tests *2019*

Run a specific day:

./gradlew clean test --tests *132019*

Enable printing to stdout

Print a representation of some puzzles to stdout:

./gradlew clean test -Dprint=true

Enable interactive mode

Following days have a main method that enables a basic interactive mode:

  • 13th December 2019
  • 25th December 2019

Enjoy! πŸ•ΉοΈ

TODO

  • move to JUnit 5