MCPcopy Create free account
hub / github.com/Mercury7353/PyBench / test_task_9

Function test_task_9

data/unit_test/tests.py:231–242  ·  view source on GitHub ↗
(trajectory)

Source from the content-addressed store, hash-verified

229
230# Test function
231def test_task_9(trajectory):
232 df = pd.read_excel("./output/9_1.xlsx")
233 df2 = pd.read_csv("./output/9_2.csv")
234
235 # Identify numeric columns in both dataframes
236 numeric_columns_df = identify_numeric_columns(df)
237 numeric_columns_df2 = identify_numeric_columns(df2)
238
239
240 # Assert that the identified numeric columns match the expected columns
241 assert len(numeric_columns_df) == 0
242 assert len(numeric_columns_df2) == 0
243
244# Example usage (remove or comment out in actual test file)
245# test_task_9()

Callers

nothing calls this directly

Calls 1

identify_numeric_columnsFunction · 0.85

Tested by

no test coverage detected