Sha256: 3efc9b57116d79083c4e181da536b93f8e9794bc2ccbc7317019e6f680dee0f2

Contents?: true

Size: 386 Bytes

Versions: 1

Compression:

Stored size: 386 Bytes

Contents

include GMath3D

MiniTest::Unit.autorun

class GeomTestCase < MiniTest::Unit::TestCase
  def test_tolerance
    default_tolerance = Geom.default_tolerance
    geomObject = Geom.new
    assert_equal(default_tolerance, geomObject.tolerance)
    geomObject.tolerance = 1e-8
    assert_equal(1e-8, geomObject.tolerance)
    assert_equal(default_tolerance, Geom.default_tolerance)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gmath3D-0.1.1 test/test_geom.rb