YUKI Hiroshi
null+****@clear*****
Thu Apr 30 16:59:06 JST 2015
YUKI Hiroshi 2015-04-30 16:59:06 +0900 (Thu, 30 Apr 2015) New Revision: 9d3a77dac154fa7d56540d9ca8418abfaad9340f https://github.com/droonga/droonga-engine/commit/9d3a77dac154fa7d56540d9ca8418abfaad9340f Message: Align Modified files: test/unit/test_reducer.rb Modified: test/unit/test_reducer.rb (+20 -20) =================================================================== --- test/unit/test_reducer.rb 2015-04-30 16:58:21 +0900 (abcc166) +++ test/unit/test_reducer.rb 2015-04-30 16:59:06 +0900 (2dd2926) @@ -35,13 +35,13 @@ class ReducerTest < Test::Unit::TestCase data( :int => { :expected => 1.5, - :left => 1, - :right => 2, + :left => 1, + :right => 2, }, :float => { :expected => 1.5, - :left => 1.0, - :right => 2.0, + :left => 1.0, + :right => 2.0, }, ) def test_average(data) @@ -54,23 +54,23 @@ class ReducerTest < Test::Unit::TestCase data( :true_and_false => { :expected => false, - :left => true, - :right => false, + :left => true, + :right => false, }, :false_and_true => { :expected => false, - :left => false, - :right => true, + :left => false, + :right => true, }, :both_true => { :expected => true, - :left => true, - :right => true, + :left => true, + :right => true, }, :both_false => { :expected => false, - :left => false, - :right => false, + :left => false, + :right => false, }, ) def test_and(data) @@ -83,23 +83,23 @@ class ReducerTest < Test::Unit::TestCase data( :true_and_false => { :expected => true, - :left => true, - :right => false, + :left => true, + :right => false, }, :false_and_true => { :expected => true, - :left => false, - :right => true, + :left => false, + :right => true, }, :both_true => { :expected => true, - :left => true, - :right => true, + :left => true, + :right => true, }, :both_false => { :expected => false, - :left => false, - :right => false, + :left => false, + :right => false, }, ) def test_or(data) -------------- next part -------------- HTML����������������������������... Télécharger