failing tests

This commit is contained in:
Roland Grinis 2021-07-13 11:54:33 +01:00
parent c09da54cc9
commit 93768ed2a7
2 changed files with 6 additions and 7 deletions

View File

@ -181,14 +181,13 @@ val buildCpp by tasks.registering {
}
//tasks["compileJava"].dependsOn(buildCpp)
/*
tasks {
withType<Test>{
systemProperty("java.library.path",
"$cppBuildDir/kmath")
//"$home/devspace/noa/cmake-build-release/kmath")
systemProperty("java.library.path", "$home/devspace/noa/cmake-build-release/kmath")
// "$cppBuildDir/kmath")
}
}
}*/
readme {
maturity = ru.mipt.npm.gradle.Maturity.PROTOTYPE

View File

@ -11,7 +11,7 @@ import kotlin.test.assertEquals
class TestUtils {
@Test
fun throwingExceptions() {
fun testException() {
val i = try {
JNoa.testException(5)
} catch (e: NoaException) {
@ -21,7 +21,7 @@ class TestUtils {
}
@Test
fun settingNumThreads(){
fun testSetNumThreads(){
val numThreads = 2
setNumThreads(numThreads)
assertEquals(numThreads, getNumThreads())