Sha256: dfaabad17a0139953908b29c84e49118bd68498db6788fd6885554af78887dff
Contents?: true
Size: 436 Bytes
Versions: 1
Compression:
Stored size: 436 Bytes
Contents
#! /usr/bin/env ruby # coding: utf-8 require "test/unit" require "helper" require "mageo/cylinder.rb" require "mageo/vector3d.rb" class TC_Cylinder < Test::Unit::TestCase def setup @c00 = Cylinder.new([[0.0, 1.0, 2.0], [1.0, 2.0, 3.0]], 3.0) end def test_initialize assert_equal(Vector3D[0.0, 1.0, 2.0], @c00.positions[0]) assert_equal(Vector3D[1.0, 2.0, 3.0], @c00.positions[1]) assert_equal(3.0, @c00.radius) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mageo-0.0.0 | test/test_cylinder.rb |