@@ -40,12 +40,12 @@ SCENARIO("Arduino Cloud Properties ", "[ArduinoCloudThing::CloudFloat]")
40
40
prop.writeOnDemand ();
41
41
addPropertyToContainer (property_container, prop, " test" , Permission::ReadWrite);
42
42
43
- /* [{0: "test", 2: 1.5}] = 81A200647465737402F97E00 */
44
- uint8_t const payload[] = { 0x81 , 0xA2 , 0x00 , 0x64 , 0x74 , 0x65 , 0x73 , 0x74 , 0x02 , 0xF9 , 0x7E , 0x00 };
43
+ /* [{0: "test", 2: 1.5}] = 81A200647465737402F93E00 */
44
+ uint8_t const payload[] = { 0x81 , 0xA2 , 0x00 , 0x64 , 0x74 , 0x65 , 0x73 , 0x74 , 0x02 , 0xF9 , 0x3E , 0x00 };
45
45
int const payload_length = sizeof (payload) / sizeof (uint8_t );
46
46
CBORDecoder::decode (property_container, payload, payload_length);
47
47
48
- // REQUIRE(prop.isDifferentFromCloud() == true);
48
+ REQUIRE (prop.isDifferentFromCloud () == true );
49
49
REQUIRE (prop.value () != prop.cloudValue ());
50
50
}
51
51
@@ -71,12 +71,12 @@ SCENARIO("Arduino Cloud Properties ", "[ArduinoCloudThing::CloudFloat]")
71
71
prop.writeOnDemand ();
72
72
addPropertyToContainer (property_container, prop, " test" , Permission::ReadWrite);
73
73
74
- /* [{0: "test", 2: 1.5}] = 81A200647465737402F97E00 */
75
- uint8_t const payload[] = { 0x81 , 0xA2 , 0x00 , 0x64 , 0x74 , 0x65 , 0x73 , 0x74 , 0x02 , 0xF9 , 0x7E , 0x00 };
74
+ /* [{0: "test", 2: 1.5}] = 81A200647465737402F93E00 */
75
+ uint8_t const payload[] = { 0x81 , 0xA2 , 0x00 , 0x64 , 0x74 , 0x65 , 0x73 , 0x74 , 0x02 , 0xF9 , 0x3E , 0x00 };
76
76
int const payload_length = sizeof (payload) / sizeof (uint8_t );
77
77
CBORDecoder::decode (property_container, payload, payload_length);
78
78
79
- // REQUIRE(prop.isDifferentFromCloud() == false);
79
+ REQUIRE (prop.isDifferentFromCloud () == false );
80
80
REQUIRE (prop.value () == prop.cloudValue ());
81
81
}
82
82
0 commit comments