Sha256: 5f5d13ebff4c006d5c7eaea4dae43deabb203fe0b1007a8a7a8fe8494cca7448

Contents?: true

Size: 364 Bytes

Versions: 20

Compression:

Stored size: 364 Bytes

Contents

require_relative 'helper'


class TestGraphics < Test::Unit::TestCase

  P = Processing

  def graphics(w = 10, h = 10)
    P::Graphics.new w, h
  end

  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

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
processing-0.5.27 test/test_graphics.rb
processing-0.5.26 test/test_graphics.rb
processing-0.5.25 test/test_graphics.rb
processing-0.5.24 test/test_graphics.rb
processing-0.5.23 test/test_graphics.rb
processing-0.5.22 test/test_graphics.rb
processing-0.5.21 test/test_graphics.rb
processing-0.5.20 test/test_graphics.rb
processing-0.5.19 test/test_graphics.rb
processing-0.5.18 test/test_graphics.rb
processing-0.5.17 test/test_graphics.rb
processing-0.5.16 test/test_graphics.rb
processing-0.5.14 test/test_graphics.rb
processing-0.5.13 test/test_graphics.rb
processing-0.5.12 test/test_graphics.rb
processing-0.5.11 test/test_graphics.rb
processing-0.5.10 test/test_graphics.rb
processing-0.5.9 test/test_graphics.rb
processing-0.5.8 test/test_graphics.rb
processing-0.5.6 test/test_graphics.rb