Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: NerfUS-Coord NerfUSTarget
Fork of APP3_xbee by
Diff: test.cpp
- Revision:
- 1:8a0e05ec166c
- Parent:
- 0:8f5379c94a69
- Child:
- 2:5d437f1b1548
--- a/test.cpp Sat Feb 11 20:47:45 2017 +0000
+++ b/test.cpp Sat Feb 11 20:53:30 2017 +0000
@@ -46,7 +46,7 @@
const char expected_array[] = {0x7E, 0x00, 0x12, 0x10, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFE, 0x00, 0x00, 0x54, 0x65, 0x73, 0x74, 0x51};
vector<char> expected_request = construct_vector(expected_array, 22);
- vector<char> actual_request = generate_transmit_request("Test", 4);
+ vector<char> actual_request = generate_transmit_request("FUCK", 4);
assert_vector_equal(actual_request, expected_request);
}
