Skip to content

Latest commit

 

History

History
79 lines (53 loc) · 2.34 KB

README.md

File metadata and controls

79 lines (53 loc) · 2.34 KB

advent-of-code-2022

GitHub last commit Travis (.org) GitHub GitHub code size in bytes GitHub top language

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What things you need to install the software and how to install them

  • JDK 19 or later

Installing

You can set up the project into an IDE by importing the folder. The following command shows how to do it in IntelliJ IDEA.

idea advent-of-code-2022

Running the tests

You can easily run the automated tests of this project by the shipped gradle wrapper

❯ ./gradlew clean test
Starting a Gradle Daemon (subsequent builds will be faster)

> Task :app:compileKotlin

> Task :app:test

...

BUILD SUCCESSFUL in 1m 44s
5 actionable tasks: 5 executed

Break down into tests

There are unit tests for all the solved days. Each one is in a separate package located under src/test/kotlin.

── test
    ├── kotlin
    │     └── advent
    │         └── of
    │             └── code
    │                 ├── day01
    │                 │     └── Day01Test.kt
    │                 ├── day02
    │                 │     └── Day02Test.kt
    │                 ├── day03
    │                 │     └── Day03Test.kt

Built With

  • Kotlin - The programming language used
  • Gradle - Dependency Management

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details