package com.flightfeather.uav.lightshare.service.impl
|
|
import com.flightfeather.uav.lightshare.service.SatelliteDataCalculateService
|
import org.junit.Test
|
import org.junit.runner.RunWith
|
import org.springframework.beans.factory.annotation.Autowired
|
import org.springframework.boot.test.context.SpringBootTest
|
import org.springframework.test.context.junit4.SpringRunner
|
|
|
@RunWith(SpringRunner::class)
|
@SpringBootTest
|
class SatelliteDataCalculateServiceImplTest {
|
|
@Autowired
|
lateinit var satelliteDataCalculateService: SatelliteDataCalculateService
|
|
@Test
|
fun splitGrid() {
|
val res = satelliteDataCalculateService.splitGrid(1, 4)
|
// println(res)
|
}
|
|
@Test
|
fun splitData() {
|
val res = satelliteDataCalculateService.splitData(4, 25)
|
// println(res)
|
}
|
}
|