local m=require(script.Parent)local B=m.set describe("\083\101\116",function()it("\115\104\111\117\108\100 \115\111\114\116 \116\104\101 \115\101\116",function()local m=B.new({10;2,3});(expect(m[1])).to.equal(2);(expect(m[2])).to.equal(3);(expect(m[3])).to.equal(10)end)it("\115\104\111\117\108\100 \114\101\109\111\118\101 \100\117\112\108\105\099\097\116\101\115",function()local m=B.new({10;10,3});(expect(#m)).to.equal(2)end)end)
local SymbolicAlgebra = require(script.Parent)
local Set = SymbolicAlgebra.set

describe("Set", function() 
    it("should sort the set", function() 
        local set = Set.new({ 10, 2, 3 })
        expect(set[1]).to.equal(2)
        expect(set[2]).to.equal(3)
        expect(set[3]).to.equal(10)
    end)
    it("should remove duplicates", function() 
        local set = Set.new({ 10, 10, 3 })
        expect(#set).to.equal(2)
    end)
end)