def transform(self, X, y):
        self.new_X, self.new_y = self.oversample()
Test for firing if contition is on.
dataset/ETHPy150Open stavskal/ADASYN/adasyn.py/ADASYN.transform--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/tests/components/automation/test_state.py/TestAutomationState.test_if_fires_on_for_condition