def test_arangedataset():
 preprocessor = RemoveMean()
 dataset = ArangeDataset(1000, preprocessor=preprocessor, fit_preprocessor=True)
 dataset_no_preprocessing = ArangeDataset(1000)
 assert (dataset.get_data() != dataset_no_preprocessing.get_data()).any()

def test_arangedataset ( ) : preprocessor = RemoveMean ( ) dataset = ArangeDataset ( 1000 , preprocessor = preprocessor , fit_preprocessor = True ) dataset_no_preprocessing = ArangeDataset ( 1000 ) assert ( dataset . get_data ( ) != dataset_no_preprocessing . get_data ( ) ) . any ( )
this test will verify if arangedataset can be used with preprocessors .