Sha256: 35898fa24e9ea395f69eae5af165416c638f788e457d68200105195bb3e63c3d

Contents?: true

Size: 447 Bytes

Versions: 104

Compression:

Stored size: 447 Bytes

Contents

require 'test/unit'
require 'fox16'

class TC_FXSegment < Test::Unit::TestCase
  include Fox

  def test_new
    aSeg = FXSegment.new
    assert_equal(0, aSeg.x1)
    assert_equal(0, aSeg.y1)
    assert_equal(0, aSeg.x2)
    assert_equal(0, aSeg.y2)
  end
  def test_new_with_values
    aSeg = FXSegment.new(1, 2, 3, 4)
    assert_equal(1, aSeg.x1)
    assert_equal(2, aSeg.y1)
    assert_equal(3, aSeg.x2)
    assert_equal(4, aSeg.y2)
  end
end

Version data entries

104 entries across 104 versions & 2 rubygems

Version Path
fxruby-1.6.48 test/TC_FXSegment.rb
fxruby-1.6.48-x64-mingw32 test/TC_FXSegment.rb
fxruby-1.6.48-x64-mingw-ucrt test/TC_FXSegment.rb
fxruby-1.6.48-x86-mingw32 test/TC_FXSegment.rb
fxruby-1.6.47 test/TC_FXSegment.rb
fxruby-1.6.47-x64-mingw-ucrt test/TC_FXSegment.rb
fxruby-1.6.47-x64-mingw32 test/TC_FXSegment.rb
fxruby-1.6.47-x86-mingw32 test/TC_FXSegment.rb
fxruby-1.6.46 test/TC_FXSegment.rb
fxruby-1.6.46-x64-mingw32 test/TC_FXSegment.rb
fxruby-1.6.46-x64-mingw-ucrt test/TC_FXSegment.rb
fxruby-1.6.46-x86-mingw32 test/TC_FXSegment.rb
fxruby-1.6.45 test/TC_FXSegment.rb
fxruby-1.6.45-x64-mingw32 test/TC_FXSegment.rb
fxruby-1.6.45-x64-mingw-ucrt test/TC_FXSegment.rb
fxruby-1.6.45-x86-mingw32 test/TC_FXSegment.rb
fxruby-1.6.44 test/TC_FXSegment.rb
fxruby-1.6.44-x64-mingw32 test/TC_FXSegment.rb
fxruby-1.6.44-x86-mingw32 test/TC_FXSegment.rb
fxruby-1.6.43 test/TC_FXSegment.rb