local s=game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")local u=require(s.Packages.iter)return function()describe("\108\097\115\116",function()it("\115\104\111\117\108\100 \114\101\116\117\114\110 \108\097\115\116 \101\108\101\109\101\110\116 \111\102 \097\114\114\097\121",function()local s,c=(u.new({10,20,30})):last();(expect(s)).to.be.equal(3);(expect(c)).to.be.equal(30)end)end)end
--!strict
local ReplicatedStorage = game:GetService("ReplicatedStorage")

local iter = require(ReplicatedStorage.Packages.iter)

return function()
	describe("last", function()
		it("should return last element of array", function()
			local i, last = iter.new({ 10, 20, 30 }):last()

			expect(i).to.be.equal(3)
			expect(last).to.be.equal(30)
		end)
	end)
end
