feiyu02
2025-02-07 e133600480d5f688a8375db7708fe531b4726f4a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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)
    }
}