Skip to content

Commit

Permalink
test(should return expected color maps): fix test (new output)
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-berlin committed Dec 13, 2024
1 parent ddfc09a commit 4384e14
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/colors-generate-mixed-colors.spec.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,13 @@
);
@include true.assert-equal(
fn.generate-mixed-colors(green, yellow, red),
(1: green, 2: #2e9700, 3: #46a300, 4: #5dae00, 5: #74ba00, 6: #8bc500, 7: #a2d100, 8: #b9dc00, 9: #d1e800, 10: #e8f300, 11: yellow, 12: #ffe300, 13: #ffc600, 14: #ffaa00, 15: #ff8e00, 16: #ff7100, 17: #ff5500, 18: #ff3900, 19: #ff1c00, 20: red)
);
(1: green, 2: rgb(46.3636363636, 151.0909090909, 0), 3: rgb(69.5454545455, 162.6363636364, 0), 4: rgb(92.7272727273, 174.1818181818, 0), 5: rgb(115.9090909091, 185.7272727273, 0), 6: rgb(139.0909090909, 197.2727272727, 0), 7: rgb(162.2727272727, 208.8181818182, 0), 8: rgb(185.4545454545, 220.3636363636, 0), 9: rgb(208.6363636364, 231.9090909091, 0), 10: rgb(231.8181818182, 243.4545454545, 0), 11: yellow, 12: rgb(255, 226.6666666667, 0), 13: rgb(255, 198.3333333333, 0), 14: #ffaa00, 15: rgb(255, 141.6666666667, 0), 16: rgb(255, 113.3333333333, 0), 17: #ff5500, 18: rgb(255, 56.6666666667, 0), 19: rgb(255, 28.3333333333, 0), 20: red),
$inspect: true
);
@include true.assert-equal(
fn.generate-mixed-colors(#7ed321, #ffc700, #cc0000),
(1: #7ed321, 2: #95d11b, 3: #a1d018, 4: #adcf15, 5: #b9ce12, 6: #c4cc0f, 7: #d0cb0c, 8: #dcca09, 9: #e8c906, 10: #f3c803, 11: #ffc700, 12: #f9b100, 13: #f49b00, 14: #ee8500, 15: #e86f00, 16: #e35800, 17: #dd4200, 18: #d72c00, 19: #d21600, 20: #cc0000)
(1: #7ed321, 2: rgb(149.4545454545, 208.8181818182, 27), 3: rgb(161.1818181818, 207.7272727273, 24), 4: rgb(172.9090909091, 206.6363636364, 21), 5: rgb(184.6363636364, 205.5454545455, 18), 6: rgb(196.3636363636, 204.4545454545, 15), 7: rgb(208.0909090909, 203.3636363636, 12), 8: rgb(219.8181818182, 202.2727272727, 9), 9: rgb(231.5454545455, 201.1818181818, 6), 10: rgb(243.2727272727, 200.0909090909, 3), 11: #ffc700, 12: rgb(249.3333333333, 176.8888888889, 0), 13: rgb(243.6666666667, 154.7777777778, 0), 14: rgb(238, 132.6666666667, 0), 15: rgb(232.3333333333, 110.5555555556, 0), 16: rgb(226.6666666667, 88.4444444444, 0), 17: rgb(221, 66.3333333333, 0), 18: rgb(215.3333333333, 44.2222222222, 0), 19: rgb(209.6666666667, 22.1111111111, 0), 20: #cc0000),
$inspect: true
);
}
}

0 comments on commit 4384e14

Please sign in to comment.