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["compileJava"].dependsOn(buildCpp)
/*
tasks { tasks {
withType<Test>{ withType<Test>{
systemProperty("java.library.path", systemProperty("java.library.path", "$home/devspace/noa/cmake-build-release/kmath")
"$cppBuildDir/kmath") // "$cppBuildDir/kmath")
//"$home/devspace/noa/cmake-build-release/kmath")
} }
} }*/
readme { readme {
maturity = ru.mipt.npm.gradle.Maturity.PROTOTYPE maturity = ru.mipt.npm.gradle.Maturity.PROTOTYPE

View File

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