Dev #280

Merged
altavir merged 99 commits from dev into master 2021-04-16 19:45:55 +03:00
Showing only changes of commit f7e792faff - Show all commits

View File

@ -15,4 +15,13 @@ class GridTest {
assertEquals(6, grid.size)
assertTrue { (grid - DoubleVector(0.0, 0.2, 0.4, 0.6, 0.8, 1.0)).norm < 1e-4 }
}
@Test
fun testIterateGrid(){
var res = 0.0
for(d in 0.0..1.0 step 0.2){
res = d
}
assertEquals(1.0, res)
}
}