test/test_graphics.rb in processing-0.5.29 vs test/test_graphics.rb in processing-0.5.30
- old
+ new
@@ -24,10 +24,10 @@
g.ellipseMode :corner
g.ellipse 0, 0, g.width, g.height
end
temppath(ext: 'png') do |path|
assert_nothing_raised {g.save path}
- assert_equal get_pixels(g), get_pixels(g.loadImage path)
+ assert_equal_pixels g, g.loadImage(path)
end
end
def test_inspect()
assert_match %r|#<Processing::Graphics:0x\w{16}>|, graphics.inspect