---------- 転送メッセージ ----------
From: Genta Omagari <gen...@gmail.com>
日付: 2010年8月30日0:01
件名: genomagです。Star Rubyについて。
To: Hajime Hoshi <hajim...@gmail.com>
以下、実行環境です。
32bit通常起動
rsdl、Star Rubyをソースからビルドしてインストール
以下ターミナルです。
G-Omagari-MBP:test G_Omagari$ rsdl runner.rb
Loaded suite .
Started
.........................................................................................F.............................................
Finished in 42.432711 seconds.
1) Failure:
test_render_text_hello_world(TestTexture)
[/Users/G_Omagari/starruby-0.3.3-src/test/tests/test_texture.rb:1139:in
`test_render_text_hello_world'
/Users/G_Omagari/starruby-0.3.3-src/test/tests/test_texture.rb:1136:in
`times'
/Users/G_Omagari/starruby-0.3.3-src/test/tests/test_texture.rb:1136:in
`test_render_text_hello_world'
/Users/G_Omagari/starruby-0.3.3-src/test/tests/test_texture.rb:1135:in
`times'
/Users/G_Omagari/starruby-0.3.3-src/test/tests/test_texture.rb:1135:in
`test_render_text_hello_world']:
<#<StarRuby::Color alpha=255, red=153, green=102, blue=51>> expected but was
<#<StarRuby::Color alpha=255, red=153, green=204, blue=255>>.
135 tests, 789916 assertions, 1 failures, 0 errors
数値をみるとアルファ値、赤ともに正常ですが緑は2倍、青は5倍の結果になっています。
自分はColor.newの挙動が怪しいと思っています。(もしくはビルドオプション?)ではでは。
--
Hajime Hoshi <hajim...@gmail.com>