Timo Hocker 3b67053b3e styles
2020-04-24 17:01:26 +02:00

10 lines
221 B
TypeScript

import test from 'ava';
import { Color } from '../lib';
test ('serialize', (t) => {
const wh = Color.white;
const tr = Color.transparent;
t.is (wh.toString (), '#ffffff');
t.is (tr.toString (), '#00000000');
});