From c129a610e0b60b6d90e0888e2f6f93c44ec9bf8e Mon Sep 17 00:00:00 2001 From: Philip Wedemann <22521688+hfhbd@users.noreply.github.com> Date: Fri, 23 Feb 2024 07:45:46 +0100 Subject: [PATCH] Test project dependencies (#10) Co-authored-by: hfhbd --- day2/build.gradle.kts | 4 ++++ day3/build.gradle.kts | 4 ++++ day3/src/test/kotlin/Day3Test.kt | 3 +++ 3 files changed, 11 insertions(+) diff --git a/day2/build.gradle.kts b/day2/build.gradle.kts index f552689..abb0b93 100644 --- a/day2/build.gradle.kts +++ b/day2/build.gradle.kts @@ -1,3 +1,7 @@ plugins { id("setup") } + +dependencies { + api(projects.day1) +} diff --git a/day3/build.gradle.kts b/day3/build.gradle.kts index f552689..c3529cf 100644 --- a/day3/build.gradle.kts +++ b/day3/build.gradle.kts @@ -1,3 +1,7 @@ plugins { id("setup") } + +dependencies { + implementation(projects.day2) +} diff --git a/day3/src/test/kotlin/Day3Test.kt b/day3/src/test/kotlin/Day3Test.kt index 7ed4c53..1e90ab1 100644 --- a/day3/src/test/kotlin/Day3Test.kt +++ b/day3/src/test/kotlin/Day3Test.kt @@ -2,6 +2,9 @@ import kotlin.test.Test import kotlin.test.assertEquals class Day3Test { + @Test fun a() { + getDigits("") + } @Test fun partOneSample() { val input =