local X=import("\046\046\047\102\117\110\099\116\105\111\110\115\047\116\121\112\101\111\102")local c=import("\046\047\077\111\100\101\108")local n=import("\046\047\080\108\097\121\101\114\115")describe("\105\110\115\116\097\110\099\101\115\046\080\108\097\121\101\114\115",function()it("\115\104\111\117\108\100 \105\110\115\116\097\110\116\105\097\116\101",function()local X=n:new()assert.not_nil(X)end)it("\115\104\111\117\108\100 \104\097\118\101 \112\114\111\112\101\114\116\105\101\115 \100\101\102\105\110\101\100",function()local c=n:new()assert.equal(X(c.LocalPlayer),"\073\110\115\116\097\110\099\101")end)it("\115\104\111\117\108\100 \114\101\116\117\114\110 \110\105\108 \119\104\101\110 \117\115\105\110\103 \071\101\116\080\108\097\121\101\114\070\114\111\109\067\104\097\114\097\099\116\101\114",function()local X=n:new()assert.equal(X:GetPlayerFromCharacter(c:new()),nil)end)end)
local typeof = import("../functions/typeof")

local Model = import("./Model")
local Players = import("./Players")

describe("instances.Players", function()
	it("should instantiate", function()
		local instance = Players:new()

		assert.not_nil(instance)
	end)

	it("should have properties defined", function()
		local instance = Players:new()

		assert.equal(typeof(instance.LocalPlayer), "Instance")
	end)

	it("should return nil when using GetPlayerFromCharacter", function()
		local instance = Players:new()

		assert.equal(instance:GetPlayerFromCharacter(Model:new()), nil)
	end)
end)
