mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2026-02-20 04:18:40 +01:00
formatted main branch
This commit is contained in:
@@ -65,7 +65,8 @@ TEST_CASE("Set a value in a 64 bit frame") {
|
||||
// only the value we did set should be non-zero
|
||||
for (size_t i = 0; i < rows; i++) {
|
||||
for (size_t j = 0; j < cols; j++) {
|
||||
uint64_t *data = reinterpret_cast<uint64_t *>(frame.pixel_ptr(i, j));
|
||||
uint64_t *data =
|
||||
reinterpret_cast<uint64_t *>(frame.pixel_ptr(i, j));
|
||||
REQUIRE(data != nullptr);
|
||||
if (i == 5 && j == 7) {
|
||||
REQUIRE(*data == value);
|
||||
@@ -150,4 +151,3 @@ TEST_CASE("test explicit copy constructor") {
|
||||
REQUIRE(frame2.bytes() == rows * cols * bitdepth / 8);
|
||||
REQUIRE(frame2.data() != data);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user