double precision missing in test #6

Merged
Wasabi375 merged 1 commits from woopsy into master 2018-05-01 19:33:30 +03:00

View File

@ -27,7 +27,7 @@ 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)
} }
} }
} }