local C=script.Parent.Parent local c=C.Parent.Parent.Parent local n=c.Parent local S=require(n.Dev.JestGlobals)local U=S.expect local O=S.describe local w=S.it local p=require(C.timing)O("\116\105\109\105\110\103 \116\101\115\116\115",function()w("\115\104\111\117\108\100 \097\108\119\097\121\115 \114\101\116\117\114\110 \097 \104\105\103\104\101\114 \118\097\108\117\101 \102\111\114 \101\097\099\104 \105\110\118\111\099\097\116\105\111\110",function()local C=0 for c=0,1000,1 do local n=p.now();(U(n)).toBeGreaterThan(C)C=n end end)end)
local testWorkspace = script.Parent.Parent
local srcWorkspace = testWorkspace.Parent.Parent.Parent
local rootWorkspace = srcWorkspace.Parent

local JestGlobals = require(rootWorkspace.Dev.JestGlobals)
local jestExpect = JestGlobals.expect
local describe = JestGlobals.describe
local it = JestGlobals.it

local Timing = require(testWorkspace.timing)

describe("timing tests", function()
	it("should always return a higher value for each invocation", function()
		local lastNow = 0
		for i = 0, 1000 do
			local currentNow = Timing.now()
			jestExpect(currentNow).toBeGreaterThan(lastNow)
			lastNow = currentNow
		end
	end)
end)
