Skip to content

Commit

Permalink
uncomment tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tpc9000 committed Jul 12, 2024
1 parent e722a2d commit 8dd74f4
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/Array/Mean.spec.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
return function()
--[[ local Mean = require(script.Parent.Mean)
local Mean = require(script.Parent.Mean)

describe("Array/Mean", function()
it("should return 0 for no elements", function()
Expand All @@ -17,5 +17,5 @@ return function()
it("should return the mean of a multiple elements with a range", function()
expect(Mean({1, 2, 3, 4}, 2, 4)).to.equal(3)
end)
end) ]]
end)
end
4 changes: 2 additions & 2 deletions src/Array/Percentile.spec.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
return function()
--[[ local Percentile = require(script.Parent.Percentile)
local Percentile = require(script.Parent.Percentile)

describe("Array/Percentile", function()
it("should return nil for no elements", function()
Expand All @@ -17,5 +17,5 @@ return function()
it("should return the last element for 100th percentile", function()
expect(Percentile({1, 2, 3, 4, 5}, 1)).to.equal(5)
end)
end) ]]
end)
end
4 changes: 2 additions & 2 deletions src/Array/Product.spec.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
return function()
--[[ local Product = require(script.Parent.Product)
local Product = require(script.Parent.Product)

local function Check(Test, Index, Expected)
local Pairing = Test[Index]
Expand Down Expand Up @@ -58,5 +58,5 @@ return function()
Check(Test, 7, {2, 2, 1})
Check(Test, 8, {2, 2, 2})
end)
end) ]]
end)
end
4 changes: 2 additions & 2 deletions src/Array/Range.spec.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
return function()
--[[ local Range = require(script.Parent.Range)
local Range = require(script.Parent.Range)

describe("Array/Range", function()
it("should return a single element list for a range of 1", function()
Expand All @@ -22,5 +22,5 @@ return function()
Range(2, 1)
end).to.throw()
end)
end) ]]
end)
end
4 changes: 2 additions & 2 deletions src/Array/Sum.spec.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
return function()
--[[ local Sum = require(script.Parent.Sum)
local Sum = require(script.Parent.Sum)

describe("Array/Sum", function()
it("should return the sum of a single element for From & To being equal", function()
Expand All @@ -13,5 +13,5 @@ return function()
it("should return the sum of a subset of multiple elements where From is greater than To", function()
expect(Sum({1, 2, 3, 4}, 3, 1)).to.equal(6)
end)
end) ]]
end)
end

0 comments on commit 8dd74f4

Please sign in to comment.