Skip to content

Commit

Permalink
Move HSLuv and HPLuv tests to hsluv directory (#490)
Browse files Browse the repository at this point in the history
There are a large number of tests in the HSLuv and HPLuv test
suites and there's no need to run them everytime so they have
been moved out of the primary test suite into their own test
directory.
  • Loading branch information
lloydk authored Mar 19, 2024
1 parent 7e9fde2 commit 100c486
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions test/hpluv.js → test/hsluv/hpluv.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { to, sRGB, HPLuv } from "../src/index-fn.js";
import { check } from "./util.mjs";
import { readTestData, normalizeCoords } from "./hsluv/util.mjs";
import { to, sRGB, HPLuv } from "../../src/index-fn.js";
import { check } from "../util.mjs";
import { readTestData, normalizeCoords } from "./util.mjs";

let json = readTestData();
let srgbToHpluv = [];
Expand Down
6 changes: 3 additions & 3 deletions test/hsluv.js → test/hsluv/hsluv.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { to, sRGB, HSLuv } from "../src/index-fn.js";
import { check } from "./util.mjs";
import { readTestData, normalizeCoords } from "./hsluv/util.mjs";
import { to, sRGB, HSLuv } from "../../src/index-fn.js";
import { check } from "../util.mjs";
import { readTestData, normalizeCoords } from "./util.mjs";

let json = readTestData();
let srgbToHsluv = [];
Expand Down

0 comments on commit 100c486

Please sign in to comment.