returned back test timeouts, decrease number of cases that tests check to make it faster

This commit is contained in:
Veniamin Viflyantsev 2021-08-17 23:47:52 +03:00
parent f271ded526
commit 47ac2dd0a9
3 changed files with 2 additions and 16 deletions

View File

@ -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"))

View File

@ -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) {

View File

@ -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) {