помогите с ошибкой Unresolved reference. None of the following candidates is applicable because of receiver type mismatch:

При запуске тестового файла выходит ошибка: Unresolved reference. None of the following candidates is applicable because of receiver type mismatch: public fun String.compareTo(other: String, ignoreCase: Boolean = ...): Int defined in kotlin.text вот сам тестовый файл:

  import org.junit.Test
    import org.junit.jupiter.api.Assertions.*
    
    internal class pow {
     @Test
    fun test1() {
        assert(value = aidar(args = 12.4)<(13))
    }
    @Test
    fun main() {
    }
}

вот код файла по которому создается тест:

import kotlin.math.pow


fun aidar(args: Double) {

        val qwe: Double = 12.4
        val result = qwe.pow(2.0)
        println("Res: ${result}")
    }

fun main(){

}

Ответы (0 шт):