Skip to content

Commit

Permalink
Drop threshold back down to a passing 10
Browse files Browse the repository at this point in the history
  • Loading branch information
gjtorikian committed Apr 1, 2015
1 parent 3851b7c commit 8a54ce5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_color_threshold.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class TestColorThreshold < Minitest::Test

def test_color_threshold
langs_with_colors = Language.all.reject { |language| language.color.nil? }
cp = ColorProximity.new(20, langs_with_colors.map(&:color))
cp = ColorProximity.new(10, langs_with_colors.map(&:color))
failing_threshold = []
langs_with_colors.each do |lang|
state = cp.within_threshold?(lang.color[1..-1])
Expand Down

0 comments on commit 8a54ce5

Please sign in to comment.