diff options
| author | frozolotl <44589151+frozolotl@users.noreply.github.com> | 2024-02-20 14:01:11 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-20 13:01:11 +0000 |
| commit | d8aba7c4ff10f8f5c3bab0adb46405cc221637bd (patch) | |
| tree | 84b684510887b028b2d1d01e9e57782a3f479c2f /tests | |
| parent | 6402bdacc7534ec9d893a84a2c4fd9c753d4a649 (diff) | |
Add alpha component to luma (#3438)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/typ/compiler/methods.typ | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/typ/compiler/methods.typ b/tests/typ/compiler/methods.typ index a3d8c658..9eed5aed 100644 --- a/tests/typ/compiler/methods.typ +++ b/tests/typ/compiler/methods.typ @@ -128,7 +128,8 @@ --- // Test color '.components()' without conversions #test-repr(rgb(1, 2, 3, 4).components(), (0.39%, 0.78%, 1.18%, 1.57%)) -#test-repr(luma(40).components(), (15.69%, )) +#test-repr(luma(40).components(), (15.69%, 100%)) +#test-repr(luma(40, 50%).components(), (15.69%, 50%)) #test-repr(cmyk(4%, 5%, 6%, 7%).components(), (4%, 5%, 6%, 7%)) #test-repr(oklab(10%, 0.2, 0.3).components(), (10%, 0.2, 0.3, 100%)) #test-repr(oklch(10%, 0.2, 90deg).components(), (10%, 0.2, 90deg, 100%)) |
