<commit_before>package org.traccar.protocol;

import org.junit.Test;
import org.traccar.ProtocolTest;

public class WondexProtocolDecoderTest extends ProtocolTest {

    @Test
    public void testDecode() throws Exception {

        WondexProtocolDecoder decoder = new WondexProtocolDecoder(null);

        verifyPosition(decoder, buffer(
                "2000000108,20151030145404,76.948633,43.354700,0,140,15,100,1,1325,125.4,10.5,0.0"),<commit_msg>Add Wondex test case<commit_after>package org.traccar.protocol;

import org.junit.Test;
import org.traccar.ProtocolTest;

public class WondexProtocolDecoderTest extends ProtocolTest {

    @Test
    public void testDecode() throws Exception {

        WondexProtocolDecoder decoder = new WondexProtocolDecoder(null);

        verifyPosition(decoder, buffer(
                "2005010051,19990925063830,26.106181,44.440225,0,0,0,7,2,0.0,0,,,0"));

        verifyPosition(decoder, buffer(
                "2000000108,20151030145404,76.948633,43.354700,0,140,15,100,1,1325,125.4,10.5,0.0"),
{'fraction_non_alphanumeric': 0.10993249758919961, 'fraction_numerical': 0.16875602700096431, 'mean_word_length': 4.21608040201005, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1890160', 'n_tokens_mistral': 443, 'n_tokens_neox': 336, 'n_words': 53}