package org.traccar.protocol; import org.junit.Test; import org.traccar.ProtocolTest; public class AisProtocolDecoderTest extends ProtocolTest { @Test public void testDecode() throws Exception { var decoder = new AisProtocolDecoder(null); verifyPositions(decoder, text( "!AIVDM,2,1,8,A,53UlSb01l>Ei=H4KF218PTpv222222222222221?8h=766gB00000K6J;5KAIT03wpUkP06,0*5D\\s:MTb827ebc7686b,c:1481688230418*45\\\r\n" + "!AIVDM,1,1,,B,B52Q8a@00Ul`9N5@ssbmCwr5oP06,0*36\r\n" + "!AIVDM,1,1,,A,18154?v<2D=j,0*54\r\n\r\n")); } }