Skip to content

Commit 407d826

Browse files
committed
but wait! an even better test?
1 parent 3ab938e commit 407d826

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

spec/System/TestItemMods_spec.lua

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,16 +243,15 @@ describe("TetsItemMods", function()
243243
build.skillsTab:PasteSocketGroup("Leap Slam 20/0 1")
244244
runCallback("OnFrame")
245245

246-
local baseTotalDps = round(build.calcsTab.mainOutput.AverageDamage)
247246
local baseColdAvg = round(build.calcsTab.mainOutput.ColdStoredCombinedAvg)
248247

249248
build.configTab.input.customMods = [[
250249
+904 maximum mana
251250
]]
252251
build.configTab:BuildModList()
253252
runCallback("OnFrame")
254-
-- more mana increases average hit
255-
assert.are_not.equals(baseTotalDps, round(build.calcsTab.mainOutput.AverageDamage))
253+
-- more mana increases average cold hit
254+
assert.are_not.equals(baseColdAvg, round(build.calcsTab.mainOutput.ColdStoredCombinedAvg))
256255

257256
build.configTab.input.customMods = [[
258257
100 to 200 added fire damage

0 commit comments

Comments
 (0)