diff --git a/test/TC_FXMaterial.rb b/test/TC_FXMaterial.rb index c1c840462740ecb51f44a2807d536a5fc9695ff4..3ba26627ca93d7b8ed848f1d83cbefff771ab376 100755 --- a/test/TC_FXMaterial.rb +++ b/test/TC_FXMaterial.rb @@ -55,20 +55,6 @@ class TC_FXMaterial < Test::Unit::TestCase assert_in_delta(0.8, @mat.emission[3], DELTA) end - def test_emission - @mat.emission = [0.5, 0.6, 0.7, 0.8] - assert_in_delta(0.5, @mat.emission[0], DELTA) - assert_in_delta(0.6, @mat.emission[1], DELTA) - assert_in_delta(0.7, @mat.emission[2], DELTA) - assert_in_delta(0.8, @mat.emission[3], DELTA) - - @mat.emission = FXVec4f.new(0.5, 0.6, 0.7, 0.8) - assert_in_delta(0.5, @mat.emission[0], DELTA) - assert_in_delta(0.6, @mat.emission[1], DELTA) - assert_in_delta(0.7, @mat.emission[2], DELTA) - assert_in_delta(0.8, @mat.emission[3], DELTA) - end - def test_shininess @mat.shininess = 0.5 assert_in_delta(0.5, @mat.shininess, DELTA)