From 628e6f0fcee37969fe1379b9092d0451a70c266c Mon Sep 17 00:00:00 2001 From: +merlan #flirora Date: Sat, 8 Feb 2025 14:10:22 -0500 Subject: [PATCH] Add comments to test Co-authored by: PgBiel <9021226+PgBiel@users.noreply.github.com> --- tests/suite/visualize/gradient.typ | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/suite/visualize/gradient.typ b/tests/suite/visualize/gradient.typ index 301b464bc..811b8b605 100644 --- a/tests/suite/visualize/gradient.typ +++ b/tests/suite/visualize/gradient.typ @@ -660,6 +660,8 @@ $ A = mat( ) --- issue-5819-gradient-repeat --- +// Ensure the gradient constructor generates monotonic stops which can be fed +// back into the gradient constructor itself. #let my-gradient = gradient.linear(red, blue).repeat(5) #let _ = gradient.linear(..my-gradient.stops()) #let my-gradient2 = gradient.linear(red, blue).repeat(5, mirror: true)