Skip to content

Commit

Permalink
testSignalDecoder/tests.cpp
Browse files Browse the repository at this point in the history
fixed expected message
  • Loading branch information
sidey79 committed Jun 15, 2019
1 parent e65e200 commit 71ea593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testSignalDecoder/tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1456,7 +1456,7 @@ namespace arduino {
int msgStartPos = outputStr.find_first_of(MSG_START) + 1;
int msgEndPos = outputStr.find_first_of(MSG_END, msgStartPos);
std::string Message = outputStr.substr(msgStartPos, msgEndPos - msgStartPos);
std::string bstr = "MS;P1=-8055;P2=488;P3=-2049;P4=-3956;D=21232324232323232323242323242323242323232424242324242323232323232323232323232324242324;CP=2;SP=1;R=31;O;m2;";
std::string bstr = "MS;P0=488;P1=-8055;P2=-2049;P3=-3956;D=0101020203020202020202030202030202030202020303030203030202020202020202020202020203030203;CP=0;SP=1;O;m2;";
ASSERT_STREQ(Message.c_str(), bstr.c_str());
}

Expand Down

0 comments on commit 71ea593

Please sign in to comment.