function Expectation.equal(f,k)local u=(f.value==k)==f.successCondition local Z=formatMessage(f.successCondition,("\069\120\112\101\099\116\101\100 \118\097\108\117\101 \037\113 \040\037\115\041\044 \103\111\116 \037\113 \040\037\115\041 \105\110\115\116\101\097\100"):format(tostring(k),type(k),tostring(f.value),type(f.value)),("\069\120\112\101\099\116\101\100 \097\110\121\116\104\105\110\103 \098\117\116 \118\097\108\117\101 \037\113 \040\037\115\041"):format(tostring(k),type(k)))assertLevel(u,Z,3)f:_resetModifiers()return f end
--[[
	Assert that our expectation value is equal to another value
]]
function Expectation:equal(otherValue)
	local result = (self.value == otherValue) == self.successCondition

	local message = formatMessage(
		self.successCondition,
		("Expected value %q (%s), got %q (%s) instead"):format(
			tostring(otherValue),
			type(otherValue),
			tostring(self.value),
			type(self.value)
		),
		("Expected anything but value %q (%s)"):format(tostring(otherValue), type(otherValue))
	)

	assertLevel(result, message, 3)
	self:_resetModifiers()

	return self
end
