from ie_pandas import DataFrame
import pytest


def test_input_mixed_in_list_df_both_index_axis():
    obj = [30, 53.0, "31", True, 32]
    df = DataFrame(
        obj, rowindex=["AGE"], colindex=["A", "B", "C", "D", "E"], axis=1
    )

    expected_output = {
        "A": [30],
        "B": [53.0],
        "C": ["31"],
        "D": [True],
        "E": [32],
    }

    actual_output = df.df

    assert actual_output == expected_output
