Add unit tests for BlurParameters and LensController
First test coverage for the project: 17 tests covering BlurParameters constraint clamping (size, blur, falloff, aspect ratio, position), data class equality, field preservation across with* methods, and LensController pre-initialization edge cases. Adds JUnit 4.13.2 as a test dependency. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
c58c45c52c
commit
aab1ff38a4
4 changed files with 196 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ composeBom = "2024.12.01"
|
|||
camerax = "1.4.1"
|
||||
exifinterface = "1.3.7"
|
||||
playServicesLocation = "21.3.0"
|
||||
junit = "4.13.2"
|
||||
|
||||
[libraries]
|
||||
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }
|
||||
|
|
@ -35,6 +36,9 @@ androidx-exifinterface = { group = "androidx.exifinterface", name = "exifinterfa
|
|||
# Location
|
||||
play-services-location = { group = "com.google.android.gms", name = "play-services-location", version.ref = "playServicesLocation" }
|
||||
|
||||
# Test
|
||||
junit = { group = "junit", name = "junit", version.ref = "junit" }
|
||||
|
||||
[plugins]
|
||||
android-application = { id = "com.android.application", version.ref = "agp" }
|
||||
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue