mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 00:38:27 +01:00
Test operator*()
This commit is contained in:
@@ -19,9 +19,11 @@ TEST(JsonArray_Iterator_Test, SimpleTest) {
|
||||
|
||||
EXPECT_NE(end, it);
|
||||
EXPECT_EQ(12, it->as<int>());
|
||||
EXPECT_EQ(12, (*it).as<int>());
|
||||
++it;
|
||||
EXPECT_NE(end, it);
|
||||
EXPECT_EQ(34, it->as<int>());
|
||||
EXPECT_EQ(34, (*it).as<int>());
|
||||
++it;
|
||||
EXPECT_EQ(end, it);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user