increased test timeouts in geometry project
This commit is contained in:
parent
9023098090
commit
603db46eb8
@ -4,6 +4,20 @@ plugins {
|
||||
id("ru.mipt.npm.gradle.native")
|
||||
}
|
||||
|
||||
kotlin.js {
|
||||
nodejs {
|
||||
testTask {
|
||||
useMocha().timeout = "5000"
|
||||
}
|
||||
}
|
||||
|
||||
browser {
|
||||
testTask {
|
||||
useMocha().timeout = "5000"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
kotlin.sourceSets.commonMain {
|
||||
dependencies {
|
||||
api(project(":kmath-core"))
|
||||
|
@ -42,9 +42,10 @@ internal class ProjectionAlongTest {
|
||||
val base = Vector3D(2.0, -0.0037, 11.1111)
|
||||
|
||||
with(Euclidean3DSpace) {
|
||||
for (x in (-10.0..10.0).generateList(0.15)) {
|
||||
for (y in (-10.0..10.0).generateList(0.15)) {
|
||||
for (z in (-10.0..10.0).generateList(0.15)) {
|
||||
val testDomain = (-10.0..10.0).generateList(0.15)
|
||||
for (x in testDomain) {
|
||||
for (y in testDomain) {
|
||||
for (z in testDomain) {
|
||||
val v = Vector3D(x, y, z)
|
||||
val result = projectAlong(v, normal, base)
|
||||
|
||||
|
@ -64,9 +64,10 @@ internal class ProjectionOntoLineTest {
|
||||
)
|
||||
|
||||
with(Euclidean3DSpace) {
|
||||
for (x in (-10.0..10.0).generateList(0.15)) {
|
||||
for (y in (-10.0..10.0).generateList(0.15)) {
|
||||
for (z in (-10.0..10.0).generateList(0.15)) {
|
||||
val testDomain = (-10.0..10.0).generateList(0.15)
|
||||
for (x in testDomain) {
|
||||
for (y in testDomain) {
|
||||
for (z in testDomain) {
|
||||
val v = Vector3D(x, y, z)
|
||||
val result = projectToLine(v, line)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user