You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it "corrects a blue value if it's less than 0" do
pixel = Pixel.new(100, -10, 100, 5, 5)
expect(pixel.green).to eq 0
end
it "corrects a green value if it's less than 0" do
pixel = Pixel.new(100, 100, -12, 5, 5)
expect(pixel.blue).to eq 0
end
You are checking the wrong values for the green and blue specs.
The text was updated successfully, but these errors were encountered:
Looks like there was a mistake in pixel_spec.rb
You are checking the wrong values for the green and blue specs.
The text was updated successfully, but these errors were encountered: