Sha256: f40506cef41d79fb6303ead00f834da97f9c90414c4c1df0bdf083cec59833ac

Contents?: true

Size: 557 Bytes

Versions: 6

Compression:

Stored size: 557 Bytes

Contents

require 'test/unit'
require 'fox12'

include Fox

class TC_FXArc < Test::Unit::TestCase
  def test_new
    anArc = FXArc.new
    assert_equal(0, anArc.x)
    assert_equal(0, anArc.y)
    assert_equal(0, anArc.w)
    assert_equal(0, anArc.h)
    assert_equal(0, anArc.a)
    assert_equal(0, anArc.b)
  end
  def test_new_with_values
    anArc = FXArc.new(1, 2, 3, 4, 5, 6)
    assert_equal(1, anArc.x)
    assert_equal(2, anArc.y)
    assert_equal(3, anArc.w)
    assert_equal(4, anArc.h)
    assert_equal(5, anArc.a)
    assert_equal(6, anArc.b)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fxruby-1.2.3 tests/TC_FXArc.rb
fxruby-1.2.2 tests/TC_FXArc.rb
fxruby-1.2.4 tests/TC_FXArc.rb
fxruby-1.2.5 tests/TC_FXArc.rb
fxruby-1.2.6 tests/TC_FXArc.rb
fxruby-1.4.0 tests/TC_FXArc.rb