From 38229874be886214c406266f17a02ee4b316622f Mon Sep 17 00:00:00 2001 From: MedadRufus Date: Tue, 27 Jul 2021 21:27:27 +0100 Subject: [PATCH] fix compile error --- Software/tests/pythagorean_ut/geofence_ut.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Software/tests/pythagorean_ut/geofence_ut.cpp b/Software/tests/pythagorean_ut/geofence_ut.cpp index 49e245b8..768067a7 100644 --- a/Software/tests/pythagorean_ut/geofence_ut.cpp +++ b/Software/tests/pythagorean_ut/geofence_ut.cpp @@ -64,6 +64,9 @@ TEST(Geofence_Polygon, test_array_compare) TEST(Geofence_Polygon, test_eu_array_compare) { + uint8_t iar1[] = {1, 2, 3, 4, 5}; + uint8_t iar2[] = {1, 2, 3, 4, 5}; + uint8_t iar3[] = {1, 2, 3, 2, 5}; CHECK_TRUE(std::equal(std::begin(iar1), std::end(iar1), std::begin(iar2))); CHECK_FALSE(std::equal(std::begin(iar1), std::end(iar1), std::begin(iar3))); } \ No newline at end of file