test/test_triangle.rb in mageo-0.0.4 vs test/test_triangle.rb in mageo-0.0.5
- old
+ new
@@ -165,11 +165,11 @@
pos1 = Mageo::Vector3D[2.0, 0.0, 0.0]
seg01 = Mageo::Segment.new(pos0, pos1)
assert_equal(false, @t00.parallel_segment?(seg01))
# 平行ではない。
- pos2 = Mageo::Vector3D[0.0,10.0, 0.0]
- pos3 = Mageo::Vector3D[0.0,10.0, 2.0]
+ pos0 = Mageo::Vector3D[0.0,10.0, 0.0]
+ pos1 = Mageo::Vector3D[0.0,10.0, 2.0]
seg01 = Mageo::Segment.new(pos0, pos1)
assert_equal(false, @t00.parallel_segment?(seg01))
end
def test_normal_vector