KiCad PCB EDA Suite
color4d_test_utils.h File Reference

Test utilities for COLOUR4D objects. More...

Go to the source code of this file.

Namespaces

 KI_TEST
 

Functions

bool KI_TEST::IsColorNear (const KIGFX::COLOR4D &aCol, const KIGFX::COLOR4D aOther, double aTol)
 Checks if a COLOR4D is close enough to another. More...
 
bool KI_TEST::IsColorNearHex (const KIGFX::COLOR4D &aCol, unsigned char r, unsigned char g, unsigned char b, unsigned char a)
 Checks if a COLOR4D is close enough to a given RGB char value. More...
 

Detailed Description

Test utilities for COLOUR4D objects.

Definition in file color4d_test_utils.h.