def test_single_split_columns_match(self):
    folder_name = 'datasets'
    file_name = 'diabetes.csv'
    test_full_path = ((('.\\..\\' + folder_name) + '\\') + file_name)
    csv_type = self._loader_creator.create_loader(test_full_path, 'CSV')
    df = csv_type.get_file_transformed()
    (expected_y_len, expected_x_len) = df.shape
    expected_x_len -= 1
    splitter = SplitterReturner()
    (x, y) = splitter.split_x_y_from_df(df)
    self.assertEqual(len(x.columns), expected_x_len)
    self.assertEqual(len(y), expected_y_len)
def test_single_split_columns_match(self):
    folder_name = 'datasets'
    file_name = 'diabetes.csv'
    test_full_path = ((('.\\..\\' + folder_name) + '\\') + file_name)
    csv_type = self._loader_creator.create_loader(test_full_path, 'CSV')
    df = csv_type.get_file_transformed()
    (expected_y_len, expected_x_len) = df.shape
    expected_x_len -= 1
    splitter = SplitterReturner()
    (x, y) = splitter.split_x_y_from_df(df)
    self.assertEqual(len(x.columns), expected_x_len)
    self.assertEqual(len(y), expected_y_len)