Kotlin, Testing, Software Development, Functional Programming.
MathOps.lengthProportion(str1, str2) shouldBe 2 } "smallerInt returns an smaller int" { val a = 17 (MathOps.smallerInt(a) < a) shouldBe true } }) However, looking at it in depth it is possible to find some problems. "lengthProportion has an uncovered edge case" { val str1 = "1234" val str2 = ""