rename check infinity loop test class and fun

This commit is contained in:
InsanusMokrassar 2022-06-15 14:43:28 +06:00
parent 9ea8194d7d
commit f63ed1a873

View File

@ -5,9 +5,9 @@ import com.soywiz.klock.days
import dev.inmo.krontab.buildSchedule
import kotlin.test.*
class InfinityLoopCheckTest {
class CheckMonthsAndDaysCorrectWork {
@Test
fun absenceOfInfinityLoopCheckTest() {
fun checkMonthsAndDaysCorrectWork() {
val now = DateTime.now().startOfYear.startOfDay
for (i in 0 until now.year.days) {
val scheduleDateTime = (now + i.days)