Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 723 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 723 Bytes

Advent of Code 2023 - Java

Create solution

  • Add a class for the day you are completing named 'Day<day_number>'
  • Make sure class implements Day interface
  • Add puzzle input as a text file in resources directory named '<day_number>.txt'
  • Add a private data field of chosen type
  • Add tests
  • Add a constructor that runs processData method given an input file name
  • Implement processData, part1 and part2 methods of class

Build

  • mvn clean install

Run

  • mvn exec:java -Dexec.arguments=<day_number>
  • day_number corresponds to the particular day in December that you want to run puzzles for

Test

  • mvn test run all tests
  • mvn test -Dtest=<test_class_name> run specific test class