Skip to content

Commit 828c89d

Browse files
committed
chore(tests): add new lines for test function
1 parent b2d1752 commit 828c89d

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

tests/color.lua

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ local p = Color.new "#DD97F1"
3838

3939
local offset = 30
4040

41-
print "DARK / ORIGINAL / LIGHT - ALT "
41+
print "DARK / ORIGINAL / LIGHT - ALT\n"
4242
io.write(tostring(bl:darken_2(offset)))
4343
io.write(tostring(w:darken_2(offset)))
4444
io.write(tostring(r:darken_2(offset)))
@@ -70,9 +70,9 @@ io.write(tostring(g:lighten_2(offset)))
7070
io.write(tostring(c:lighten_2(offset)))
7171
io.write(tostring(b:lighten_2(offset)))
7272
io.write(tostring(p:lighten_2(offset)))
73-
io.write "\n\n"
73+
io.write "\n"
7474

75-
print "DARK / ORIGINAL / LIGHT "
75+
print "\nDARK / ORIGINAL / LIGHT\n"
7676
io.write(tostring(bl:darken(offset)))
7777
io.write(tostring(w:darken(offset)))
7878
io.write(tostring(r:darken(offset)))
@@ -106,7 +106,7 @@ io.write(tostring(b:lighten(offset)))
106106
io.write(tostring(p:lighten(offset)))
107107
io.write "\n"
108108

109-
print "\nBLEND"
109+
print "\nBLEND\n"
110110
io.write(tostring(bl:blend(r, 0.5)))
111111
io.write(tostring(bl:blend(o, 0.5)))
112112
io.write(tostring(bl:blend(y, 0.5)))
@@ -124,7 +124,7 @@ io.write(tostring(w:blend(b, 0.5)))
124124
io.write(tostring(w:blend(p, 0.5)))
125125
io.write "\n"
126126

127-
print "\nDESATURATION"
127+
print "\nDESATURATION\n"
128128
io.write(tostring(r:desat(0)))
129129
io.write(tostring(o:desat(0)))
130130
io.write(tostring(y:desat(0)))
@@ -152,7 +152,7 @@ io.write(tostring(b:desat(1)))
152152
io.write(tostring(p:desat(1)))
153153
io.write "\n"
154154

155-
print "\nSATURATION"
155+
print "\nSATURATION\n"
156156
io.write(tostring(r:sat(0)))
157157
io.write(tostring(o:sat(0)))
158158
io.write(tostring(y:sat(0)))
@@ -178,3 +178,4 @@ io.write(tostring(g:sat(1)))
178178
io.write(tostring(c:sat(1)))
179179
io.write(tostring(b:sat(1)))
180180
io.write(tostring(p:sat(1)))
181+
io.write "\n"

0 commit comments

Comments
 (0)