local T=require(script.Parent.Util.BasicallyIdentical)return function()local Z=require(script.Parent.Emphasize)local r=require(script.Parent.Lighten)local i=require(script.Parent.Darken)it("\108\105\103\104\116\101\110\115 \097 \100\097\114\107 \099\111\108\111\114 \119\105\116\104 \116\104\101 \099\111\101\102\102\105\099\105\101\110\116 \112\114\111\118\105\100\101\100",function()local i=Color3.fromRGB(1,2,3);(expect(T(Z(i,.4),r(i,.4)))).to.equal(true)end)it("\100\097\114\107\101\110\115 \097 \108\105\103\104\116 \099\111\108\111\114 \119\105\116\104 \116\104\101 \099\111\101\102\102\105\099\105\101\110\116 \112\114\111\118\105\100\101\100",function()local r=Color3.fromRGB(250,240,230);(expect(T(Z(r,.3),i(r,.3)))).to.equal(true)end)it("\108\105\103\104\116\101\110\115 \097 \108\105\103\104\116 \099\111\108\111\114 \119\105\116\104 \097 \104\105\103\104 \116\104\114\101\115\104\111\108\100",function()local i=Color3.fromRGB(230,220,210);(expect(T(Z(i,.1,.9),r(i,.1)))).to.equal(true)end)it("\100\097\114\107\101\110\115 \097 \100\097\114\107 \099\111\108\111\114 \119\105\116\104 \097 \108\111\119 \116\104\114\101\115\104\111\108\100",function()local r=Color3.new(.2,.2,.2);(expect(T(Z(r,.1,.01),i(r,.1)))).to.equal(true)end)end
local BasicallyIdentical = require(script.Parent.Util.BasicallyIdentical)

return function()
	local Emphasize = require(script.Parent.Emphasize)
	local Lighten = require(script.Parent.Lighten)
	local Darken = require(script.Parent.Darken)

	it("lightens a dark color with the coefficient provided", function()
		local color = Color3.fromRGB(1, 2, 3)
		expect(BasicallyIdentical(Emphasize(color, 0.4), Lighten(color, 0.4))).to.equal(true)
	end)

	it("darkens a light color with the coefficient provided", function()
		local color = Color3.fromRGB(250, 240, 230)
		expect(BasicallyIdentical(Emphasize(color, 0.3), Darken(color, 0.3))).to.equal(true)
	end)

	it("lightens a light color with a high threshold", function()
		local color = Color3.fromRGB(230, 220, 210)
		expect(BasicallyIdentical(Emphasize(color, 0.1, 0.9), Lighten(color, 0.1))).to.equal(true)
	end)

	it("darkens a dark color with a low threshold", function()
		local color = Color3.new(0.2, 0.2, 0.2)
		expect(BasicallyIdentical(Emphasize(color, 0.1, 0.01), Darken(color, 0.1))).to.equal(true)
	end)
end
