returned back test timeouts, decrease number of cases that tests check to make it faster
This commit is contained in:
parent
f271ded526
commit
47ac2dd0a9
@ -4,20 +4,6 @@ plugins {
|
|||||||
id("ru.mipt.npm.gradle.native")
|
id("ru.mipt.npm.gradle.native")
|
||||||
}
|
}
|
||||||
|
|
||||||
kotlin.js {
|
|
||||||
nodejs {
|
|
||||||
testTask {
|
|
||||||
useMocha().timeout = "5000"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
browser {
|
|
||||||
testTask {
|
|
||||||
useMocha().timeout = "5000"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
kotlin.sourceSets.commonMain {
|
kotlin.sourceSets.commonMain {
|
||||||
dependencies {
|
dependencies {
|
||||||
api(project(":kmath-core"))
|
api(project(":kmath-core"))
|
||||||
|
@ -42,7 +42,7 @@ internal class ProjectionAlongTest {
|
|||||||
val base = Vector3D(2.0, -0.0037, 11.1111)
|
val base = Vector3D(2.0, -0.0037, 11.1111)
|
||||||
|
|
||||||
with(Euclidean3DSpace) {
|
with(Euclidean3DSpace) {
|
||||||
val testDomain = (-10.0..10.0).generateList(0.15)
|
val testDomain = (-10.0..10.0).generateList(0.43)
|
||||||
for (x in testDomain) {
|
for (x in testDomain) {
|
||||||
for (y in testDomain) {
|
for (y in testDomain) {
|
||||||
for (z in testDomain) {
|
for (z in testDomain) {
|
||||||
|
@ -64,7 +64,7 @@ internal class ProjectionOntoLineTest {
|
|||||||
)
|
)
|
||||||
|
|
||||||
with(Euclidean3DSpace) {
|
with(Euclidean3DSpace) {
|
||||||
val testDomain = (-10.0..10.0).generateList(0.15)
|
val testDomain = (-10.0..10.0).generateList(0.43)
|
||||||
for (x in testDomain) {
|
for (x in testDomain) {
|
||||||
for (y in testDomain) {
|
for (y in testDomain) {
|
||||||
for (z in testDomain) {
|
for (z in testDomain) {
|
||||||
|
Loading…
Reference in New Issue
Block a user