push
github
23 of 23 new or added lines in 2 files covered. (100.0%)
130 existing lines in 7 files now uncovered.5424 of 9985 relevant lines covered (54.32%)
290.75 hits per line
| 1 |
local color = require "modules.color" |
7✔ |
| 2 |
|
7✔ |
| 3 |
describe("color:", function() |
|
| 4 |
end)
|
|
| 5 |
|
259✔ |
|
UNCOV
6
|
--[[
|
× |
| 7 |
new(r, g, b, a) |
|
| 8 |
from_hsv(h, s, v) |
|
| 9 |
from_hsva(h, s, v, a) |
|
| 10 |
invert(c) |
|
| 11 |
lighten(c, v) |
420✔ |
|
UNCOV
12
|
lerp(a, b, s) |
× |
| 13 |
darken(c, v) |
|
| 14 |
multiply(c, v) |
|
| 15 |
alpha(c, v) |
|
| 16 |
opacity(c, v) |
|
| 17 |
hue(color, hue) |
14✔ |
| 18 |
saturation(color, percent) |
14✔ |
| 19 |
value(color, percent) |
7✔ |
| 20 |
gamma_to_linear(r, g, b, a) |
7✔ |
| 21 |
linear_to_gamma(r, g, b, a) |
7✔ |
| 22 |
is_color(a) |
7✔ |
| 23 |
to_string(a) |
7✔ |
| 24 |
--]]
|
7✔ |