package com.astoev.cave.survey.test.service.bluetooth.util;

import com.astoev.cave.survey.service.bluetooth.device.AbstractBluetoothRFCOMMDevice;
import com.astoev.cave.survey.service.bluetooth.device.comm.BoschPLR30CBluetoothDevice;

import org.junit.Test;

import java.io.IOException;

/**
 * Created by astoev on 12/24/15.
 */
public class BoschPLR30ProtocolTest extends AbstractDeviceProtocolTest {

    @Test
    public void testDataPacket() throws IOException {

        // TODO fix me
        byte[] message = new byte[] {1, -5, 93, -5, 113, 51, -52, 105};
        ensureSucces(message, 24.059f, 160.285f, -72.845f);
    }

    @Override
    protected AbstractBluetoothRFCOMMDevice getDeviceSpec() {
        return new BoschPLR30CBluetoothDevice();
    }
}

@@ -233,32 +233,8 @@
 e;%0A%0A
-import org.junit.Test;%0A%0A
 impo
@@ -307,16 +307,25 @@
 %0Apublic 
+abstract 
 class Bo
@@ -387,16 +387,18 @@
  %7B%0A%0A    
+//
 @Test%0A  

disable test not ready