test/povray/test_triangle.rb in crystalcell-0.1.0 vs test/povray/test_triangle.rb in crystalcell-0.1.1
- old
+ new
@@ -23,16 +23,16 @@
)
end
def test_to_pov
assert_equal(
- "triangle{<0.000000,0.000000,0.000000>,<1.000000,0.000000,0.000000>,<0.000000,1.000000,0.000000> pigment {color rgb<0.250000,0.500000,0.750000>}}",
+ "triangle{ < 0.0000, 0.0000, 0.0000>,< 1.0000, 0.0000, 0.0000>,< 0.0000, 1.0000, 0.0000> pigment {color rgb< 0.2500, 0.5000, 0.7500>}}",
@t00.to_pov
)
@t00.transmit = 0.5
assert_equal(
- "triangle{<0.000000,0.000000,0.000000>,<1.000000,0.000000,0.000000>,<0.000000,1.000000,0.000000> pigment {color rgb<0.250000,0.500000,0.750000> transmit 0.500000}}",
+ "triangle{ < 0.0000, 0.0000, 0.0000>,< 1.0000, 0.0000, 0.0000>,< 0.0000, 1.0000, 0.0000> pigment {color rgb< 0.2500, 0.5000, 0.7500> transmit 0.5000}}",
@t00.to_pov
)
end
end