test/test_graphics.rb in processing-0.5.5 vs test/test_graphics.rb in processing-0.5.6
- old
+ new
@@ -1,8 +1,5 @@
-# -*- coding: utf-8 -*-
-
-
require_relative 'helper'
class TestGraphics < Test::Unit::TestCase
@@ -14,8 +11,12 @@
def test_beginDraw()
g = graphics
g.beginDraw
assert_raise {g.beginDraw}
+ end
+
+ def test_inspect()
+ assert_match %r|#<Processing::Graphics:0x\w{16}>|, graphics.inspect
end
end# TestGraphics