From 309a772487a63fbb63368e5a7348ac578b7075af Mon Sep 17 00:00:00 2001 From: Lyle Johnson <lyle@lylejohnson.name> Date: Tue, 3 Aug 2010 15:45:34 -0500 Subject: [PATCH] Removed duplicate unit test 'test_emission' in TC_FXMaterial.rb --- test/TC_FXMaterial.rb | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/test/TC_FXMaterial.rb b/test/TC_FXMaterial.rb index c1c8404..3ba2662 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) -- GitLab