def test_probabilistic_complete_monthly_to_quarterly(self):
        """
        Tests MIDAS on probabilistic series on example of monthly series aligned with quarters.
        """

        # generate probabilistic monthly series
        all_vals_monthly = self.monthly_ts.all_values(copy=False)
        prob_values_monthly = np.concatenate(
            [all_vals_monthly + i * 0.01 for i in range(3)], axis=2
        )
        ts_prob_monthly = TimeSeries.from_times_and_values(
            times=self.monthly_ts.time_index,
            values=prob_values_monthly,
            columns=self.monthly_ts.columns.tolist(),
        )
        # generate probabilistic quarterly series
        all_vals_quarterly = self.quarterly_ts.all_values(copy=False)
        prob_values_quarterly = np.concatenate(
            [all_vals_quarterly + i * 0.01 for i in range(3)], axis=2
        )
        ts_prob_quarterly = TimeSeries.from_times_and_values(
            times=self.quarterly_ts.time_index,
            values=prob_values_quarterly,
            columns=self.quarterly_ts.columns.tolist(),
        )

        # to quarter start
        midas_1 = MIDAS(low_freq="QS")

        quarterly_ts_midas = midas_1.fit_transform(ts_prob_monthly)
        assert quarterly_ts_midas == ts_prob_quarterly

        inversed_quarterly_ts_midas = midas_1.inverse_transform(quarterly_ts_midas)
        assert inversed_quarterly_ts_midas == ts_prob_monthly

        Tests MIDAS on probabilistic series on example of monthly series aligned with quarters.
        
darts/tests/dataprocessing/transformers/test_midas.py