Sha256: 8c59f008d9963b0400677594eb0724e6b00272d9dc437382534d68722a419b51
Contents?: true
Size: 447 Bytes
Versions: 6
Compression:
Stored size: 447 Bytes
Contents
$LOAD_PATH.unshift(File.dirname(__FILE__)) require 'helper' 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
6 entries across 6 versions & 1 rubygems