feiyu02
2025-01-23 698f8f0f22af4c66581ce284407e986ca036aec6
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
30
package com.flightfeather.uav.lightshare.service.impl
 
import com.flightfeather.uav.domain.entity.GridDataDetail
import com.flightfeather.uav.domain.mapper.GridDataDetailMapper
import com.flightfeather.uav.lightshare.service.SatelliteTelemetryService
import org.junit.Assert.*
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
import tk.mybatis.mapper.entity.Example
 
@RunWith(SpringRunner::class)
@SpringBootTest
class SatelliteTelemetryServiceImplTest {
 
    @Autowired
    lateinit var satelliteTelemetryService: SatelliteTelemetryService
 
    @Test
    fun mixGridData() {
        satelliteTelemetryService.mixGridData(listOf(24, 25))
    }
 
    @Test
    fun calGridVertex() {
        satelliteTelemetryService.calGridVertex(1)
    }
}