package cn.flightfeather.supervision.lightshare.service.Impl
|
|
import cn.flightfeather.supervision.lightshare.service.EvaluationruleService
|
import org.junit.Test
|
|
import org.junit.Assert.*
|
import org.junit.jupiter.api.extension.ExtendWith
|
import org.junit.runner.RunWith
|
import org.springframework.beans.factory.annotation.Autowired
|
import org.springframework.boot.test.context.SpringBootTest
|
import org.springframework.test.context.junit.jupiter.SpringExtension
|
import org.springframework.test.context.junit4.SpringRunner
|
|
@RunWith(SpringRunner::class)
|
@ExtendWith(SpringExtension::class)
|
@SpringBootTest
|
class EvaluationruleServiceImplTest {
|
|
@Autowired
|
lateinit var evaluationruleService: EvaluationruleService
|
|
@Test
|
fun getRule() {
|
val r = evaluationruleService.getRule(null, 7, 0)
|
println(r)
|
}
|
}
|