![]() |
Rendering Engine 0.2.17
Modular Graphics Rendering Engine | v0.2.17
|
Go to the source code of this file.
Functions | |
| TEST (Color, ConstructorsAndEqualityIncludeEveryChannel) | |
| TEST (ImageData, EmptyImageHasNoPixelsOrBytes) | |
| TEST (ImageData, SizedImageInitializesPixelsAndFillReplacesAllChannels) | |
| TEST (ImageData, PixelWritesAreIsolatedAndBoundsAreChecked) | |
| TEST (ImageData, RawRGBAAndRGBPreserveRowAndChannelOrder) | |
| TEST (ImageData, RawRGBARejectsBothShortAndLongBuffers) | |
| TEST (ImageData, CopyConstructionOwnsIndependentStorage) | |
| TEST (ImageData, CopyAssignmentResizesAndOwnsIndependentStorage) | |
| TEST_P (ImageOverlay, CopiesSourcePixelsAndPreservesEverythingOutsideIntersection) | |
| INSTANTIATE_TEST_SUITE_P (Placements, ImageOverlay, ::testing::Values(OverlayCase{0, 0, "Origin"}, OverlayCase{1, 1, "Offset"}, OverlayCase{2, 0, "RightClip"}, OverlayCase{0, 2, "BottomClip"}, OverlayCase{2, 2, "BothClip"}, OverlayCase{3, 0, "OutsideRight"}, OverlayCase{0, 3, "OutsideBottom"}, OverlayCase{std::numeric_limits< unsigned >::max(), 0, "FarOutside"}), [](const ::testing::TestParamInfo< OverlayCase > &info) { return info.param.name;}) | |
| TEST (ImageData, ZeroSizedOverlaysAreNoOps) | |
| INSTANTIATE_TEST_SUITE_P | ( | Placements | , |
| ImageOverlay | , | ||
| ::testing::Values(OverlayCase{0, 0, "Origin"}, OverlayCase{1, 1, "Offset"}, OverlayCase{2, 0, "RightClip"}, OverlayCase{0, 2, "BottomClip"}, OverlayCase{2, 2, "BothClip"}, OverlayCase{3, 0, "OutsideRight"}, OverlayCase{0, 3, "OutsideBottom"}, OverlayCase{std::numeric_limits< unsigned >::max(), 0, "FarOutside"}) | , | ||
| [] (const ::testing::TestParamInfo< OverlayCase > &info) { return info.param.name;} | |||
| ) |
| TEST | ( | Color | , |
| ConstructorsAndEqualityIncludeEveryChannel | |||
| ) |
Definition at line 13 of file image_data_tests.cpp.
| TEST | ( | ImageData | , |
| CopyAssignmentResizesAndOwnsIndependentStorage | |||
| ) |
Definition at line 118 of file image_data_tests.cpp.
| TEST | ( | ImageData | , |
| CopyConstructionOwnsIndependentStorage | |||
| ) |
Definition at line 105 of file image_data_tests.cpp.
| TEST | ( | ImageData | , |
| EmptyImageHasNoPixelsOrBytes | |||
| ) |
Definition at line 37 of file image_data_tests.cpp.
| TEST | ( | ImageData | , |
| PixelWritesAreIsolatedAndBoundsAreChecked | |||
| ) |
Definition at line 63 of file image_data_tests.cpp.
| TEST | ( | ImageData | , |
| RawRGBAAndRGBPreserveRowAndChannelOrder | |||
| ) |
Definition at line 81 of file image_data_tests.cpp.
| TEST | ( | ImageData | , |
| RawRGBARejectsBothShortAndLongBuffers | |||
| ) |
Definition at line 99 of file image_data_tests.cpp.
| TEST | ( | ImageData | , |
| SizedImageInitializesPixelsAndFillReplacesAllChannels | |||
| ) |
Definition at line 47 of file image_data_tests.cpp.
| TEST | ( | ImageData | , |
| ZeroSizedOverlaysAreNoOps | |||
| ) |
Definition at line 181 of file image_data_tests.cpp.
| TEST_P | ( | ImageOverlay | , |
| CopiesSourcePixelsAndPreservesEverythingOutsideIntersection | |||
| ) |
Definition at line 149 of file image_data_tests.cpp.