Files
url_tracker_tool/node_modules/khroma/test/methods/complement.js
Andrei 58f8093689 Rebrand from 'Redirect Intelligence v2' to 'URL Tracker Tool V2' throughout UI
- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
2025-08-19 19:12:23 +00:00

26 lines
479 B
JavaScript

/* IMPORT */
import {describe} from 'fava';
import {complement} from '../../dist/index.js';
/* MAIN */
describe ( 'complement', it => {
it ( 'gets the complement of the color', t => {
const tests = [
['#6b717f', 'hsl(42, 8.547008547%, 45.8823529412%)'],
['#d2e1dd', 'hsl(344, 20%, 85.2941176471%)'],
['#036', 'hsl(30, 100%, 20%)']
];
tests.forEach ( ([ color, output ]) => {
t.is ( complement ( color ), output );
});
});
});