diff --git a/kmath-noa/build.gradle.kts b/kmath-noa/build.gradle.kts index 611ab8159..c13592914 100644 --- a/kmath-noa/build.gradle.kts +++ b/kmath-noa/build.gradle.kts @@ -181,14 +181,13 @@ val buildCpp by tasks.registering { } //tasks["compileJava"].dependsOn(buildCpp) - +/* tasks { withType{ - 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 diff --git a/kmath-noa/src/test/kotlin/space/kscience/kmath/noa/TestUtils.kt b/kmath-noa/src/test/kotlin/space/kscience/kmath/noa/TestUtils.kt index 732ea0ae1..5987282d4 100644 --- a/kmath-noa/src/test/kotlin/space/kscience/kmath/noa/TestUtils.kt +++ b/kmath-noa/src/test/kotlin/space/kscience/kmath/noa/TestUtils.kt @@ -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())