local F=require(script.Parent.Region)local t=require(script.Parent.RegionGroup)return function()it("\115\104\111\117\108\100 \098\101 \097\098\108\101 \116\111 \099\114\101\097\116\101 \082\101\103\105\111\110\071\114\111\117\112\115",function()local l=t.new("\084\101\115\116\082\101\103\105\111\110\071\114\111\117\112")l:AddRegion(F.new(Vector3.new(0,0,0),Vector3.new(10,10,10)))l:AddRegion(F.new(Vector3.new(10,10,10),Vector3.new(15,15,15)))local B,A=l:GetRegionPointsAt(1);(expect(B)).to.equal(Vector3.new(0,0,0));(expect(A)).to.equal(Vector3.new(10,10,10))local U,v=l:GetRegionPointsAt(2);(expect(U)).to.equal(Vector3.new(10,10,10));(expect(v)).to.equal(Vector3.new(15,15,15))end)end
local Region = require(script.Parent.Region)
local RegionGroup = require(script.Parent.RegionGroup)

return function()
	it(
		"should be able to create RegionGroups",
		function()
			local group = RegionGroup.new("TestRegionGroup")
			group:AddRegion(Region.new(Vector3.new(0, 0, 0), Vector3.new(10, 10, 10)))
			group:AddRegion(Region.new(Vector3.new(10, 10, 10), Vector3.new(15, 15, 15)))

			local v0, v1 = group:GetRegionPointsAt(1)
			expect(v0).to.equal(Vector3.new(0, 0, 0))
			expect(v1).to.equal(Vector3.new(10, 10, 10))

			local v2, v3 = group:GetRegionPointsAt(2)
			expect(v2).to.equal(Vector3.new(10, 10, 10))
			expect(v3).to.equal(Vector3.new(15, 15, 15))
		end
	)
end
