MCPcopy Create free account
hub / github.com/dejwk/roo_display / TestWriteRectWindowSimple

Function TestWriteRectWindowSimple

test/testing_display_device.h:446–453  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

444
445template <typename TestedDevice, typename ReferenceDevice>
446void TestWriteRectWindowSimple(BlendingMode blending_mode,
447 Orientation orientation) {
448 TestDisplayDevice<TestedDevice, ReferenceDevice> screen(8, 12,
449 Color(0x00000000));
450 screen.setOrientation(orientation);
451 fillRandom(&screen, blending_mode, 2, 3, 6, 7);
452 EXPECT_CONSISTENT(screen);
453}
454
455template <typename TestedDevice, typename ReferenceDevice>
456void TestWriteRectWindowStress(BlendingMode blending_mode,

Callers

nothing calls this directly

Calls 3

ColorClass · 0.85
fillRandomFunction · 0.85
setOrientationMethod · 0.45

Tested by

no test coverage detected