Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
malmaud committed Jul 25, 2022
1 parent 5ab0fbc commit d80f5e2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,11 @@ julia_df = DataFrames.DataFrame(py_df)
julia_df= DataFrames.DataFrame(C = 1:4, A = 5:8, B = 9:12)
py_df = Pandas.DataFrame(julia_df)
@test all(Pandas.columns(py_df) .== ["C","A","B"])

df1 = Pandas.Series(1:2)
df2 = Pandas.Series(1:2)
df3 = Pandas.Series(3:4)

@test all(df1 == df1)
@test all(df1 == df2)
@test df1 != [1, 2]

0 comments on commit d80f5e2

Please sign in to comment.