Add more test

This commit is contained in:
Benoit Marty 2021-03-16 12:05:36 +01:00 committed by Benoit Marty
parent da9f0c6667
commit f6032da788

View File

@ -30,13 +30,11 @@ class MathUtilTest : MatrixTest {
fun testGetBestChunkSize0() = doTest(0, 100, 1, 0) fun testGetBestChunkSize0() = doTest(0, 100, 1, 0)
@Test @Test
fun testGetBestChunkSize1() = doTest(1, 100, 1, 1) fun testGetBestChunkSize1to99() {
for (i in 1..99) {
@Test doTest(i, 100, 1, i)
fun testGetBestChunkSize5() = doTest(5, 100, 1, 5) }
}
@Test
fun testGetBestChunkSize99() = doTest(99, 100, 1, 99)
@Test @Test
fun testGetBestChunkSize100() = doTest(100, 100, 1, 100) fun testGetBestChunkSize100() = doTest(100, 100, 1, 100)