double precision missing in test

This commit is contained in:
Burkhard Mittelbach 2018-05-01 18:17:21 +02:00 committed by GitHub
parent da037aa879
commit 0d46116e7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,8 +27,8 @@ class RealNDFieldTest {
for(i in 0..2){ for(i in 0..2){
for(j in 0..2){ for(j in 0..2){
val expected= (i * 10 + j).toDouble() val expected= (i * 10 + j).toDouble()
assertEquals("Error at index [$i, $j]", expected, array[i,j].value) assertEquals("Error at index [$i, $j]", expected, array[i,j].value, 0.1)
} }
} }
} }
} }