TestEqCSSColor (open)
Tests if a CSS color matches the expected value
Syntax
LOADLIB "mod::system/lib/testframework.whlib";
MACRO TestEqCSSColor(STRING expected, STRING actual, INTEGER max_deviation, STRING annotation)Parameters
STRING expectedExpected CSS color
STRING actualGotten CSS color
INTEGER max_deviationMax deviation (differences per channel added together)
STRING annotationMessage to display when the test fails