From e6ac4c70b07ef517a0c1259e72d9d09fb15d291d Mon Sep 17 00:00:00 2001 From: TomPlum Date: Mon, 22 Jun 2020 21:30:19 +0100 Subject: [PATCH] Documentation | Added Gradle Tasks Table (#7) --- README.md | 6 ++++++ implementation/src/main/kotlin/com/aoc/orbit/OrbitalMap.kt | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a86e40c..a1f4493 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,12 @@ Annotation Processing must be enabled in your IDE for the JMH tests to run. In IntelliJ; \ `Preferences -> Build, Execution, Deployment -> Compiler -> Annotation Processors` +### Gradle Tasks +| Task | Description | +|--------------------|------------------------------------------------------------| +| `test` | Runs the unit tests for the `implementation` project. | +| `testCoverage` | Runs the unit tests, calculates coverage and verifies it | + ## The Codebase ### Package Structure The package structure was something that changed almost every day. My goal was "package-by-feature". For the first few diff --git a/implementation/src/main/kotlin/com/aoc/orbit/OrbitalMap.kt b/implementation/src/main/kotlin/com/aoc/orbit/OrbitalMap.kt index e41bd54..3dd4a23 100644 --- a/implementation/src/main/kotlin/com/aoc/orbit/OrbitalMap.kt +++ b/implementation/src/main/kotlin/com/aoc/orbit/OrbitalMap.kt @@ -1,6 +1,6 @@ package com.aoc.orbit -class OrbitalMap(val input: List) { +class OrbitalMap(input: List) { private val map: Set init {