Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
paulf81 committed Jul 26, 2024
1 parent 2714c2b commit 49a0e58
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/flasc_dataframe_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import pandas as pd

from flasc.flasc_dataframe import FlascDataFrame


def test_type():
df = FlascDataFrame({"a": [1, 2, 3], "b": [4, 5, 6], "c": [7, 8, 9]}, name_map={"a": "AA"})
assert isinstance(df, FlascDataFrame)

# Assert df is a pandas DataFrame
assert isinstance(df, pd.DataFrame)

0 comments on commit 49a0e58

Please sign in to comment.