Kotlin, Testing, Software Development, Functional Programming.
MathOps.lengthProportion(str1, str2) shouldBe 2 } "smallerInt has an uncovered edge case" { val a = Int.MIN_VALUE ( MathOps.smallerInt(a) < a) shouldBe true } Property tests of the library This is how the two functions would be tested with property tests import io.kotest.core.spec.style.StringSpec