Navigation Menu

Skip to content

Commit

Permalink
Align
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 30, 2015
1 parent 3ac4133 commit 9d3a77d
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions test/unit/test_reducer.rb
Expand Up @@ -35,13 +35,13 @@ def create_record(*columns)
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)
Expand All @@ -54,23 +54,23 @@ def test_average(data)
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)
Expand All @@ -83,23 +83,23 @@ def test_and(data)
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)
Expand Down

0 comments on commit 9d3a77d

Please sign in to comment.