From 1a6025de6d114e7699fa32d6bea882f9d8830f90 Mon Sep 17 00:00:00 2001 From: Ziver Koc Date: Tue, 30 Aug 2016 17:20:00 +0200 Subject: [PATCH] Fixed junit test for nexa --- .../plugin/tellstick/protocol/NexaSelfLearningTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/se/hal/plugin/tellstick/protocol/NexaSelfLearningTest.java b/test/se/hal/plugin/tellstick/protocol/NexaSelfLearningTest.java index e6924155..f52f468e 100755 --- a/test/se/hal/plugin/tellstick/protocol/NexaSelfLearningTest.java +++ b/test/se/hal/plugin/tellstick/protocol/NexaSelfLearningTest.java @@ -47,12 +47,12 @@ public class NexaSelfLearningTest { byte[] expected = Converter.toBytes(new char[]{ 84, // T 127, 255, 24, 0, // timings - 130, // length + 132, // length 154, 138, 136, 170, 136, 168, 170, 138, 136, 168, 168, 170, 136, 170, 138, 138, 138, 138, 138, 136, 168, 170, 138, 136, 168, 170, 138, 136, 170, 138, - 136, 168, 160, + 136, 168, 170, 43}); // + NexaSelfLearningProtocol nexaProt = new NexaSelfLearningProtocol(); @@ -74,13 +74,13 @@ public class NexaSelfLearningTest { byte[] expected = Converter.toBytes(new char[]{ 84, // T 127, 255, 24, 0, // timings - 162, // length, 32 extra timings + 164, // length, 32 extra timings 154, 138, 136, 170, 136, 168, 170, 138, 136, 168, 168, 170, 136, 170, 138, 138, 138, 138, 138, 136, 168, 170, 138, 136, 168, 170, 138, 138, 138, 138, 136, 168, - 168, 170, 138, 138, 138, 138, 138, 138, 128, // Dimer value + 168, 170, 138, 138, 138, 138, 138, 138, 138, // Dimer value 43}); // + NexaSelfLearningProtocol nexaProt = new NexaSelfLearningProtocol();