We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b17f39 commit 3f5a3e1Copy full SHA for 3f5a3e1
1 file changed
src/elo/src/Shared/EloUtils.spec.lua
@@ -75,6 +75,6 @@ describe("EloUtils.getNewElo", function()
75
it("should compute percentile as 0.5", function()
76
local percentile = EloUtils.getPercentile(config, 1400)
77
78
- expect(percentile).toBe(0.5)
+ expect(percentile).toBeCloseTo(0.5, 5)
79
end)
80
0 commit comments