feiyu02
2024-12-16 b3e273990fda27b68dfcf2c7f9d78311a5279885
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.flightfeather.uav.socket
 
import com.flightfeather.uav.socket.processor.UnderwayProcessor
import org.junit.Test
 
/**
 * @author riku
 * Date: 2019/9/16
 */
class UnderwayProcessorTest {
 
    private val messageManager = UnderwayProcessor()
 
    @Test
    fun bccCheck() {
        val s = "23 23 2 31 37 36 39 31 35 33 31 39 30 39 31 32 30 30 30 36 1 1 0 42 13 9 f 12 34 8 2 0 8b 1c 0 d8 0 0 12 d8 9 6c 0 c8 0 b4 0 0 66 0 0 0 0 0 0 73 0 0 0 b9 4 32 0 2e d8 c4 0 0 0 0 80 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 f6"
        println(messageManager.bccCheck(s))
    }
}