Skip to content

Commit

Permalink
Fix #91
Browse files Browse the repository at this point in the history
  • Loading branch information
simonster committed Sep 30, 2014
1 parent ae435d1 commit dede315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/hist.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# test hist
@test sum(fit(Histogram,[1,2,3]).weights) == 3
@test fit(Histogram,[]).weights == []
@test fit(Histogram,Int[]).weights == Int[]
@test fit(Histogram,[1]).weights == [1]
@test fit(Histogram,[1,2,3],[0,2,4]) == Histogram([0,2,4],[2,1])
@test fit(Histogram,[1,2,3],[0,2,4]) != Histogram([0,2,4],[1,1])
Expand Down

0 comments on commit dede315

Please sign in to comment.