[orx-color] Fix TestColorRGBaExtensions
This commit is contained in:
@@ -44,7 +44,7 @@ class TestColorRGBaExtensions {
|
|||||||
fun testSaturate1() {
|
fun testSaturate1() {
|
||||||
val seed = ColorRGBa.RED.shade(0.5)
|
val seed = ColorRGBa.RED.shade(0.5)
|
||||||
val shifted = listOf(
|
val shifted = listOf(
|
||||||
seed.saturate<OKLCH>(1.0),
|
seed.saturate<HSV>(1.0),
|
||||||
seed.saturate<HSLuv>(1.0)
|
seed.saturate<HSLuv>(1.0)
|
||||||
)
|
)
|
||||||
for (s in shifted) {
|
for (s in shifted) {
|
||||||
@@ -57,7 +57,7 @@ class TestColorRGBaExtensions {
|
|||||||
fun testSaturate1Linear() {
|
fun testSaturate1Linear() {
|
||||||
val seed = ColorRGBa.RED.shade(0.5).toLinear()
|
val seed = ColorRGBa.RED.shade(0.5).toLinear()
|
||||||
val shifted = listOf(
|
val shifted = listOf(
|
||||||
seed.saturate<OKLCH>(1.0),
|
seed.saturate<HSV>(1.0),
|
||||||
seed.saturate<HSLuv>(1.0)
|
seed.saturate<HSLuv>(1.0)
|
||||||
)
|
)
|
||||||
for (s in shifted) {
|
for (s in shifted) {
|
||||||
|
|||||||
Reference in New Issue
Block a user