UEFIStarter
a simple UEFI framework
|
Self-tests for graphics test assertions/utilities. More...
#include <Uefi.h>
#include <Library/UefiLib.h>
#include <UEFIStarter/tests/tests.h>
#include <UEFIStarter/tests/graphics.h>
Functions | |
void | test_bounding_box () |
Makes sure the difference tests and bounding box functions work. More... | |
BOOLEAN | run_graphics_tests () |
Test runner for this group. More... | |
Self-tests for graphics test assertions/utilities.
void test_bounding_box | ( | ) |
Makes sure the difference tests and bounding box functions work.
find_bounding_box_for_changes() finds initial bounding box if there were no changes
find_bounding_box_for_changes() finds 1x1 bounding box if just one pixel changed
find_bounding_box_for_changes() finds narrow bounding box if a line of pixel changed
find_bounding_box_for_changes() finds arbitrary bounding box for given changes
find_bounding_box_for_changes() finds image-sized bounding box if changes span entire image
assert_box_equals() compares all struct members
BOOLEAN run_graphics_tests | ( | ) |
Test runner for this group.
Gets called via the generated test runner.