def test_get_rows_by_column_value(simple_int_csv): processor = CSVProcessor(simple_int_csv, types=[int, int, int]) assert processor.get_rows_by_column_value(1, 5) == [[4, 5, 6], [0, 5, 7]]
def test_get_rows_by_column_value_multi(multiple_types_csv): processor = CSVProcessor(multiple_types_csv, types=[int, str, float]) assert processor.get_rows_by_column_value(0, 0) == [[0, "'str3'", 13.1]]