Skip to content

Commit

Permalink
#326: Avoid total calculation for each score in accuracy rule
Browse files Browse the repository at this point in the history
Fixed #326
  • Loading branch information
dgroup committed Feb 5, 2021
1 parent 930e645 commit 7af052e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/lazylead/task/accuracy/score_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class ScoreTest < Lazylead::Test
"100": "100"
}.each do |k, v|
assert_equal v.to_f,
Lazylead::Score.new({}, {}, {}).grade(k.to_s.to_f)
Lazylead::Score.new({}, {}).grade(k.to_s.to_f)
end
end
end
Expand Down

0 comments on commit 7af052e

Please sign in to comment.