def test_train_test_split_size_zero_is_wrong(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()
    with self.assertRaises(ValueError):
        splitter = SplitterReturner()
        (x, y) = splitter.split_x_y_from_df(df)
        _ = splitter.train_and_test_split(x, y, 0.0)
def test_train_test_split_size_zero_is_wrong(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()
    with self.assertRaises(ValueError):
        splitter = SplitterReturner()
        (x, y) = splitter.split_x_y_from_df(df)
        _ = splitter.train_and_test_split(x, y, 0.0)