<commit_before>package org.traccar.protocol;

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

public class SolarPoweredProtocolDecoderTest extends ProtocolTest {

    @Test
    public void testDecode() throws Exception {

        SolarPoweredProtocolDecoder decoder = new SolarPoweredProtocolDecoder(null);

        verifyPosition(decoder, binary(
                "7e850256553304728011003e811319130b0b11211f01a2e6be091fa0e10114cc1582020f00831000004e7400000044000000223819020c84114161726f6e34475630312d313931303331127e"));

        verifyPosition(decoder, binary(
                "7e850256553304728011003e811319130b0d160e2901a2e66f091fa0ab0014c39482020f0083100002f42c00000287000000fc2719021484114161726f6e34475630312d313931303331e67e"));

    }

}
<commit_msg>Add a test case<commit_after>package org.traccar.protocol;

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

public class SolarPoweredProtocolDecoderTest extends ProtocolTest {

    @Test
    public void testDecode() throws Exception {

        SolarPoweredProtocolDecoder decoder = new SolarPoweredProtocolDecoder(null);

        verifyAttribute(decoder, binary(
                "7e850256553309440011003e81131914030600332301a61ed709209ff40014b89082020f0283100000f908000000440000003d1f19021784114161726f6e34475630312d323030333031057e"),
                Position.KEY_RSSI, 23);

        verifyPosition(decoder, binary(
                "7e850256553304728011003e811319130b0b11211f01a2e6be091fa0e10114cc1582020f00831000004e7400000044000000223819020c84114161726f6e34475630312d313931303331127e"));

        verifyPosition(decoder, binary(
                "7e850256553304728011003e811319130b0d160e2901a2e66f091fa0ab0014c39482020f0083100002f42c00000287000000fc2719021484114161726f6e34475630312d313931303331e67e"));

    }

}

{'fraction_non_alphanumeric': 0.05087527352297593, 'fraction_numerical': 0.3599562363238512, 'mean_word_length': 5.440140845070423, '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': '6722029', 'n_tokens_mistral': 1045, 'n_tokens_neox': 638, 'n_words': 64}