Merge pull request #6 from Wasabi375/woopsy

double precision missing in test
This commit is contained in:
Alexander Nozik 2018-05-01 19:33:29 +03:00 committed by GitHub
commit bd46b66080
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(j in 0..2){
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)
}
}
}
}
}