/aoc-2019

Advent of Code 2019

Primary LanguageKotlinCreative Commons Zero v1.0 UniversalCC0-1.0

aoc-2019

Attempts at Advent of Code 2019 in Kotlin, trying as hard as possible to stay functional and lazy. Project layout and structure is based on my aoc-kotlin-starter project. See below for how to run the project :)

See Bogdanp's Awesome Advent of Code for a great collection of starter and solution repositories in multiple languages.

Running

  • Navigate to top-level directory on the command line
  • Run ./gradlew run to run all days
  • Run ./gradlew run --args $DAY where $DAY is an integer to run a specific day

Testing

  • Navigate to top-level directory on the command line
  • Run ./gradlew test
  • Run ./gradlew test --tests $TEST_CLASS where $TEST_CLASS is a string name of a test class, including package, e.g. 'days.Day4Test'