mirror of
https://github.com/rastapasta/mapscii.git
synced 2025-06-25 03:51:34 +02:00
utils.spec.js color
This commit is contained in:
parent
bf747b6f87
commit
b75030e72f
@ -4,7 +4,7 @@ const utils = require('./utils');
|
|||||||
describe('utils', () => {
|
describe('utils', () => {
|
||||||
describe('hex2rgb', () => {
|
describe('hex2rgb', () => {
|
||||||
describe.each([
|
describe.each([
|
||||||
['#ff0000', 255, 0, 0],
|
['#000000', 0, 0, 0],
|
||||||
['#ffff00', 255, 255, 0],
|
['#ffff00', 255, 255, 0],
|
||||||
['#0000ff', 0, 0, 255],
|
['#0000ff', 0, 0, 255],
|
||||||
['#112233', 17, 34, 51],
|
['#112233', 17, 34, 51],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user