File tree Expand file tree Collapse file tree 2 files changed +0
-45
lines changed
Expand file tree Collapse file tree 2 files changed +0
-45
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -386,20 +386,6 @@ public function testConvertToHexUnknown(): void
386386 self ::assertNull (Utils::convertToHex ('#12346h ' ));
387387 }
388388
389- public function testApcaContrast (): void
390- {
391- self ::assertEquals ('#ffffff ' , Utils::apcaContrast ("#fff " , "#fff " ));
392- }
393-
394- public function testHexToForegroundAndBorder (): void
395- {
396- self ::assertEquals (['#ffffff ' , '#ffffff ' ], Utils::hexToForegroundAndBorder ("#fff " ));
397- self ::assertEquals (['#ffffff ' , '#ffffff ' ], Utils::hexToForegroundAndBorder ("#fedc " ));
398- self ::assertEquals (['#ffffff ' , '#ffffff ' ], Utils::hexToForegroundAndBorder ("#001122 " ));
399- self ::assertEquals (['#ffffff ' , '#ffffff ' ], Utils::hexToForegroundAndBorder ("#11223344 " ));
400- self ::assertEquals (['#ffffff ' , '#ffffff ' ], Utils::hexToForegroundAndBorder ("#0123 " ));
401- }
402-
403389 /**
404390 * Test function that converts colour hex notation to (nearest) name.
405391 * If value is not hexadecimal, return it unchanged.
You can’t perform that action at this time.
0 commit comments