Skip to content

Commit

Permalink
fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
MedadRufus committed Jul 27, 2021
1 parent 79ddc95 commit 3822987
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Software/tests/pythagorean_ut/geofence_ut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)));
}

0 comments on commit 3822987

Please sign in to comment.