summaryrefslogtreecommitdiff
path: root/colors/main_test.ts
blob: 7948ee96a774a54130413d81ddd2373e7e79c6a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
import { assertEqual, test } from "https://deno.land/x/testing/testing.ts";
import { color } from "./main";
import "example";

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

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