Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
azrogers committed Nov 22, 2024
1 parent f82d65b commit 9b46d6f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions CesiumGeometry/test/TestAvailability.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,7 @@ TEST_CASE("Test OctreeAvailability") {
}

REQUIRE(
(bool)(availability &
TileAvailabilityFlags::CONTENT_AVAILABLE) ==
(bool)(availability & TileAvailabilityFlags::CONTENT_AVAILABLE) ==
contentShouldBeAvailable);
}
}
Expand Down
2 changes: 1 addition & 1 deletion CesiumGltf/test/TestPropertyTablePropertyView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1277,7 +1277,7 @@ TEST_CASE("Check matN PropertyTablePropertyView (normalized)") {
}

TEST_CASE("Check boolean PropertyTablePropertyView") {
std::bitset<sizeof(unsigned long) * CHAR_BIT> bits = 0b11110101;
std::bitset<sizeof(unsigned long)* CHAR_BIT> bits = 0b11110101;
unsigned long val = bits.to_ulong();
std::vector<std::byte> data(sizeof(val));
std::memcpy(data.data(), &val, sizeof(val));
Expand Down
3 changes: 1 addition & 2 deletions CesiumGltf/test/TestPropertyTableView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5255,8 +5255,7 @@ TEST_CASE("Test callback for string array PropertyTableProperty") {
PropertyArrayView<std::string_view> v1 = propertyValue.getRaw(1);
REQUIRE(v1.size() == 2);
REQUIRE(
v1[0] ==
"But they still abduct my cows! Those milk thiefs! 👽 🐮");
v1[0] == "But they still abduct my cows! Those milk thiefs! 👽 🐮");
REQUIRE(v1[1] == "I'm not crazy. My mother had me tested 🤪");

PropertyArrayView<std::string_view> v2 = propertyValue.getRaw(2);
Expand Down

0 comments on commit 9b46d6f

Please sign in to comment.