A sample test application assignment in Kotlin
A string is nice if at least two of the following conditions are satisfied:
It doesn't contain substrings bu, ba or be; It contains at least three vowels (vowels are a, e, i, o and u); It contains a double letter (at least two similar letters following one another), like b in "abba".