summaryrefslogtreecommitdiff
path: root/colors/test.ts
blob: 1acc300721cf8d1fb404dcb8a8ff94977c1a687a (plain)
1
2
3
4
5
6
7
8
9
10
11
import { assertEqual, test } from "../testing/mod.ts";
import { color } from "./mod.ts";
import "./example.ts";

test(function singleColor() {
  assertEqual(color.red("Hello world"), "Hello world");
});

test(function doubleColor() {
  assertEqual(color.red.bgBlue("Hello world"), "Hello world");
});