Sha256: 85db83c5a2d05dd4d52addb3b9e51a9a1dcd64ab169d8be3f8f00f654fbe1f91

Contents?: true

Size: 361 Bytes

Versions: 6

Compression:

Stored size: 361 Bytes

Contents

require_relative 'helper'


class TestUtility < Test::Unit::TestCase

  P = Processing

  include P::GraphicsContext

  def test_createVector()
    assert_equal P::Vector, createVector(1, 2).class
  end

  def test_createShader()
    fs = "void main() {gl_FragColor = vec4(1.0);}"
    assert_equal P::Shader, createShader(nil, fs).class
  end

end# TestUtility

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
processing-1.1 test/test_utility.rb
processing-1.0.3 test/test_utility.rb
processing-1.0.2 test/test_utility.rb
processing-1.0.1 test/test_utility.rb
processing-0.5.34 test/test_utility.rb
processing-0.5.33 test/test_utility.rb