Skip to content

Commit

Permalink
add groupby() test from JuliaData#862
Browse files Browse the repository at this point in the history
  • Loading branch information
alyst committed Aug 31, 2016
1 parent c25b454 commit 097bd9f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/grouping.jl
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ module TestGrouping

@test combine(map(h, gd)) == combine(map(g, ga))

# testing pool overflow
df2 = DataFrame(v1 = pool(collect(1:1000)), v2 = pool(fill(1, 1000)))
@test groupby(df2, [:v1, :v2]).starts == collect(1:1000)
@test groupby(df2, [:v2, :v1]).starts == collect(1:1000)

# issue #960
x = pool(collect(1:20))
df = DataFrame(v1=x, v2=x)
Expand Down

0 comments on commit 097bd9f

Please sign in to comment.