Remove Spek add Kotest
This commit is contained in:
11
orx-noise/src/commonTest/kotlin/TestMathUtils.kt
Normal file
11
orx-noise/src/commonTest/kotlin/TestMathUtils.kt
Normal file
@@ -0,0 +1,11 @@
|
||||
import io.kotest.core.spec.style.DescribeSpec
|
||||
import org.openrndr.extra.noise.fastFloor
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
class TestMathUtils : DescribeSpec({
|
||||
describe("Fast floor") {
|
||||
it("it is corrrect for 0.0") {
|
||||
assertEquals(0, 0.0.fastFloor())
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user