forked from kscience/kmath
failing tests
This commit is contained in:
parent
c09da54cc9
commit
93768ed2a7
@ -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
|
||||||
|
@ -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())
|
||||||
|
Loading…
Reference in New Issue
Block a user