@@ -40,12 +40,12 @@ SCENARIO("Arduino Cloud Properties ", "[ArduinoCloudThing::CloudFloat]")
4040 prop.writeOnDemand ();
4141 addPropertyToContainer (property_container, prop, " test" , Permission::ReadWrite);
4242
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 };
4545 int const payload_length = sizeof (payload) / sizeof (uint8_t );
4646 CBORDecoder::decode (property_container, payload, payload_length);
4747
48- // REQUIRE(prop.isDifferentFromCloud() == true);
48+ REQUIRE (prop.isDifferentFromCloud () == true );
4949 REQUIRE (prop.value () != prop.cloudValue ());
5050 }
5151
@@ -71,12 +71,12 @@ SCENARIO("Arduino Cloud Properties ", "[ArduinoCloudThing::CloudFloat]")
7171 prop.writeOnDemand ();
7272 addPropertyToContainer (property_container, prop, " test" , Permission::ReadWrite);
7373
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 };
7676 int const payload_length = sizeof (payload) / sizeof (uint8_t );
7777 CBORDecoder::decode (property_container, payload, payload_length);
7878
79- // REQUIRE(prop.isDifferentFromCloud() == false);
79+ REQUIRE (prop.isDifferentFromCloud () == false );
8080 REQUIRE (prop.value () == prop.cloudValue ());
8181 }
8282
0 commit comments